jquery ajax json webService 问题
javascript代码如下:
$(document).ready(function() {
$("#btn2").click(function() {
$.ajax({
type: "POST",
contentType: "application/json;utf-8",
url: "WebService1.asmx/GetWish",
data: "{value1:'aa',value2:'bb',value3:'cc',value4:11}",
dataType: 'json',
success: function(result) {
try
{
alert(a);
$('#dictionary').append(result.d);
}
catch(e)
&
相关问答:
http://localhost:8080/xx/zz.do 显示 out的 xml 数据
xml.open("GET",arguments[0],true);// arguments[0]是 /xx/zz.do
xml.send();
alert(arguments[0]);//这边有
x ......
s.com 域名下有一文件process.asp
VBScript code:
Response.Buffer = True
Response.ExpiresAbsolute = Now() - 1
Response.Expires = 0
Response.CacheControl = "no-cache"
Response.Add ......
VBScript code:
Dim FoundErr,MsgErr
FoundErr = true
username=request.QueryString("userName")
password=request.QueryString("userPwd")
MsgErr = ""
if username = &qu ......
搜了,说是跨域的问题,可是我跨域了吗?
url="getcustomer.asp";//没有域呀?
test.html访问js文件,如果都部署在iis下,没问题
可是,如果test.html不部署,就是直接点击test.html打开就会出现 ......