[jQuery] Simple .load does not work in IE7
Hi all,
I'm very new to jquery and am really excited about it. But I'm having
a rough time even getting the simplest .load ajax call to work in IE.
Here's my code, it works fine in Firefox 2, but I get a Line 1, Char
1, Unknown runtime error in IE.
test1.html
<html>
<head>
<title>Ajax with jQuery Example</title>
<script type="text/javaScript" src="jquery-1.1.2.pack.js"></script>
<script type="text/javaScript">
$(document).ready(function(){
$("#ajax").click(function(){
$("#quote p").load("test2.html");
});
});
</script>
</head>
<body>
<input type="submit" id="ajax" value="Ajax">
<div id="quote">
</div>
</body>
</html>
test2.html
Why won't you work?
Any clues would be greatly appreciated. I cannot figure out what I'm
doing wrong :(
Thanks,
Sean