title: jQuery - hide a span on document.ready
body: <p>I want to hide a span on document.ready.  I tried</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
      //Set the stuff we want to be able to use in javascript, but not display in the browser window invisible
      $(document).ready(
          function () {
              ('#_ctl0_ContentPlaceHolder1_lType').hide()
          });
  &lt;/script&gt;
  </code></pre>
  
  <p>But, I get error "Object doesn't support this property or method" in IE7 debugger.  I verified in the source that the object exists as a <code>&lt;span&gt;</code> and the id is correct.</p>