开发者

jquery getScript problem with Internet Explorer 8

开发者 https://www.devze.com 2023-02-11 12:14 出处:网络
I\'ve this script $.getScript(\'page.asp?t=\' +timestap); page.asp generate this: MyFunction({ \"result\" : {

I've this script

$.getScript('page.asp?t=' +timestap);

page.asp generate this:

MyFunction({
  "result" : {
    "error" : false/true,
    "delete" : false/true,
    "data" : 'escaped html data'
  }
});

with Fir开发者_JAVA技巧efox it works like a charm, but with Internet Explorer result.data is empty

any help?


Is the content-type of page.asp set to server "text/javascript"?

0

精彩评论

暂无评论...
验证码 换一张
取 消