开发者

jquery ajax call fails ie7

开发者 https://www.devze.com 2023-01-08 08:38 出处:网络
I have the following function, which works in Firefox but not IE7: function flagDocRead(currentdocid, currentuserid){

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

精彩评论

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