开发者

jquery ajax call fails ie7

I have the following function, which works in Firefox but not IE7:

function flagDocRead(currentdocid, currentuserid){

   alert(currentdocid);

   alert(currentuserid);

   $.get("./blocks/rc_importantdocs/flagdocread.php",开发者_如何学Python{ docid: currentdocid, userid:    currentuserid });

}

currentdocid and currentuserid are both integers.

IE7 fails with "Object doesn't support this property or method".

Thanks in advance for any advice.


OK I fixed this by going to Tools->Internet Options->Advanced->[Security section]-> then Uncheck "Enable Native XMLHTTP support"

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜