AJAX中URL链接地址的问题
function Myreport1() {
var myDate = new Date();
$.ajax({
url: "http://product.uzai.com:81/Product.ashx?ProductID=28748",
data: { datetime: myDate.getTime() },
dataType: "text",
success: function (temp) {
alert(decodeURIComponent(temp));
}
});
}
该AJAX中URL我写发布好的ashx连接会报JS错,但是我写我程序里的路径是可以的,求解,url我怎么写我发布在IIS里的路径