www.yanyiwh.com:请问下面的代码怎样才能实现我要发送给的号码?请各位高手帮忙,小妹不胜感激

来源:百度文库 编辑:高考问答 时间:2024/04/29 14:00:57
var username="14193:zbw";
var password="666";
var to="手机号码";
var content=""
function send(content)
{
var url = "http://www.surge.com.cn:7001/GeneralSMS/InceptMsg?username="+username+"&password="+password+"®istecode=88888888&from=13800000000&to="+to+"&productID=63&text="+content;
window.open(url,'newwindow','height=100,width=400,top=0,left=0,toolbar=no,menubar=no,scrollbars=no, resizable=no,location=no, status=no');
}其中的TO 要传递的是号码,是个变量,我想调用ASP文件里的号码进行传递。