title: jquery length of text()
body: <p>What's wrong with the below?</p>
  <pre><code>&lt;html&gt;
    &lt;body&gt;
      &lt;div id='test'&gt;28&lt;/div&gt;  
    &lt;/body&gt;
  &lt;/html&gt;
  
  &lt;script&gt;
  $(document).ready(function (){
    if ($('#test').text().length() &gt; 0) // error here?
     alert(&quot;test&quot;);
  });
  </code></pre>
  <p>I get a JavaScript error in I.E 6 saying function expected on the line marked error.</p>