Weird, this works for me in IE6 on xp/sp2
test.html:
<html>
<script src="jquery-1.1.1.js">
</script>
<script>
$(document).ready(function() {
$("#load_here").load("test2.html");
});
</script>
<body>
<div id="load_here">
</div>
</body>
</html>

test2.html:
<html>
<body>
<script>
alert("Hello!!!");
</script>
<h1> Hello</h1>
</body>
</html> 


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Thinker
Sent: donderdag 8 februari 2007 10:25
To: jQuery Discussion.
Subject: Re: [jQuery] $().load() can not load script in a page with IE

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ronald Haring - Tripolis wrote:
> I ran into the same issue, and it can be solved by putting your 
> javascript inside the body tags. Then it works. Hurray for IE
>
I have try to put javascript inside the body, but it still not work for
me.
Maybe, it is a issue depends on version of IE.

- --
Thinker Li - [EMAIL PROTECTED] [EMAIL PROTECTED]
http://heaven.branda.to/~thinker/GinGin_CGI.py
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFyuxk1LDUVnWfY8gRAkvAAJkBfzbKXqDxo28v6nfR8s910J88fwCbB+3k
KvgoFw//IPVujjKpYKDXUMA=
=K1Mv
-----END PGP SIGNATURE-----


_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to