我正在用dreamweaver 6编写一个电话应用程序。我的ajax在我的浏览器上返回错误而没有任何结果,而我所有的电话都没有返回任何内容(这意味着电话没有读取代码),但是它返回了期望的结果在 Dreamweaver 实时视图上。下面是代码
//I removed the last part of the $uri for security reasons
var $uri="http://62.173.32.43?";
var Y1="87FBA0AC7252EDD6";
var Y2=Encrypt(key,uniqueSession);
var Y3=(Encrypt(key,MSISDN));
var fulladd = $uri +
"OPERATION=" +
Y1.toString() +
"&SESSION_ID=" +
Y2.toString() +
"&MSISDN=" +
Y3.toString() +
"&USE_XML=True";
$.ajax({
type: "GET",
url: fulladd,
dataType: "xml",
success: function(){
alert("done...");
},
complete: parseXML,
error: function(){
alert("Error Connecting, ensure you are connected to the internet");
});