title: jquery select custom attr
body: <p>I have a textfield where I'm adding a custom attr called maxchars and a value of 255. I can't seem to read the value, could someone tell me what I might be doing wrong. </p>
  
  <p>jquery</p>
  
  <pre><code>var textarea = jQuery(this);
  var maxlength = parseInt(textarea.attr("maxchars"));
  </code></pre>
  
  <p>html</p>
  
  <pre><code>&lt;t:TextArea maxchars="255"/&gt;
  </code></pre>