Moak
Moak

Reputation: 12885

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
?>

Upvotes: 0

Views: 711

Answers (3)

Moak
Moak

Reputation: 12885

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

Upvotes: 1

Ken Redler
Ken Redler

Reputation: 23943

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.

Upvotes: 0

AnApprentice
AnApprentice

Reputation: 110960

Wrap it in a DOCUMENT READY tag

Upvotes: 1

Related Questions