title: How do use dojo TextBox attr function to get value?
body: <p>How can i get the value of a Dojo TextBox? </p>
  
  <p>Am doing this;</p>
  
  <pre class="lang-javascript prettyprint-override"><code>dijit.byId("textName").getValue();
  </code></pre>
  
  <p>But firbug tells me getValue() is deprecated! is use attr('value')!</p>
  
  <p>but i have no clue on how to use attr('value') function</p>
  
  <p>Help</p>
  
  <p>Gath</p>