1.jquery调用形式
$.getJSON("http://www.url.net/Interface/Res.aspx?callback=?",
{ style: "fb", strPageSizeFB: "10" },
function(data) {
$("#show").html(GenerateTable(data.Head));
});
ikmb@163.com
$.getJSON("http://www.url.net/Interface/Res.aspx?callback=?",
{ style: "fb", strPageSizeFB: "10" },
function(data) {
$("#show").html(GenerateTable(data.Head));
});
一定加上callback=?
Response.Write(context.Request["callback"] + "({\"msg\":\"hello ajax!\"});");
ikmb@163.com