开发者

jquery load not loading in IE6

I got a simple jquery script workin on all but IE

    j('.slide').click(function(){
开发者_高级运维        j('#content').load('/menu.php');
        return false;
    });

Here's the url http://identitykit.gotdns.org/ it's valid xhtml and all other similar questions don't answer my problem.

menu.php starts with

<?php
header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1
header("Expires: Sat, 26 Jul 1997 05:00:00 GMT"); // Date in the past
?>


Wrap it in a DOCUMENT READY tag


It was my IE6 security settings for the internet zone disabling active X. This possibility was not addressed in other similar questions and could have been solved if someone told me that it works in their IE6 browsers.
Cheers to all


You've got all your <script> content in your <body>. Have you tried moving it into the <head>? (Edit: I see the answer to that is yes).

How about switching from (document).ready() to (window).load()? With IE, anything's worth a try.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜