It should work fine in IE7. Is your script tag closed after your ready call, you don't show that in your example.

<script type="text/javascript">
   $(document).ready( function() {
       alert ( "test" );
   });
</script> <-- make sure this is here

-- Josh


----- Original Message ----- From: "Tolik Piskov" <[EMAIL PROTECTED]>
To: "jQuery (English)" <jquery-en@googlegroups.com>
Sent: Sunday, March 30, 2008 11:27 AM
Subject: [jQuery] jQuery in IE7



Hello!

I was trying to start learning jQuery, but faced a problem: ready
event doesn't work in IE7, but works fine in Firefox and Safari.

...
<script type="text/javascript" src="./jquery-1.2.2.js"></script>
<script type="text/javascript">
  $(document).ready( function() {
     alert ( "test" );
});
...

I tried different versions: 1.2.2,1.2.3, regular, packed, minified. I
guess this is a bug.

Reply via email to