ajax load() issues in IE8 error when append() invoked

ajax load() issues in IE8 error when append() invoked

Hi everyone,

I was wondering if anyone could help me troubleshoot a problem that I am experiencing with IE8 and using the jQuery load() AJAX function. I am still fairly new to jQuery, so please pardon my ignorance.

I am doing exactly what load() is meant for -- loading HTML and injecting it into the DOM.

Here's the page I'm injecting into:
...
<button id="inject">inject</button>
<div id="container"></div>
...


Here's my jQuery code:
...
$(function() {
   $("button#inject").click(function() {      
      $(#container).load("someUri");
      return false;
   });
});
...


IE8's Developer Tools JavaScript Console reports the following: Unexpected call to method or property access. jquery-1.3.2.js, line 255 character 5

Clicking the error points to the append() function in the jQuery library:
...
   append: function() {
      return this.domManip(arguments, true, function(elem){
         if (this.nodeType == 1)
            this.appendChild( elem );  // <--- POINTS TO THIS SPECIFIC LINE
      });
   },
...


Anyone have a clue what's going on here?
Thanks for the help in advance.