title: Jquery callback does not recognize jquery function call
body: <p>I have a javascript function making a AJAX get request and the callback setup to update the content of a div. The only problem is that within the callback function I get the error <em>Uncaught TypeError: Object #HTMLDivElement has no method 'html'</em></p>
  
  <p>For some reason the jquery $("selector") is returning just the div not a jquery object.</p>
  
  <p>Here's the code</p>
  
  <pre><code>//HTML
  &lt;select id="dimensions" name="dimensions" onchange="getDimention()"&gt;
      &lt;option value="default"&gt;Select One&lt;/option&gt;
  ....
  &lt;/select&gt;
   &lt;div id="dim" &gt; No Dimentions added yet&lt;/div&gt;
  
  //JS
  function getDimention() {
     var eSelect = document.getElementById('dimensions');
    server.Dimention(eSelect.value, onGetDimentionSuccess); //make AJAX call
  }
  function onGetDimentionSuccess(response) {
     $('dim').html(response);
  }
  </code></pre>