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"><p> </p></div>
</body>
</html>

test2.html

<p>Why won't you work?</p>

Any clues would be greatly appreciated.  I cannot figure out what I'm
doing wrong :(

Thanks,
Sean

Reply via email to