title: How do I get the length of a textbox?
body: <p>I am unable to get length of textbox</p>
  
  <p><code>$('input[id$=textinput1]').val().length</code> returns nothing</p>
  
  <p>I cannot use $('#textinput1').val().length - although this works</p>
  
  <p>Update: My Element looks like this</p>
  
  <pre><code>&lt;input id="textinput1" type="text" /&gt;
  </code></pre>