title: Syntax error - how to get value of textbox
body: <p>I have a trouble getting value from text box. Conventional javascript getElementByName returns error :undefined. I was able to use jQuery in other examples with select. But can't find a reference anywhere about input tags. This line shows syntax error:</p>
  
  <pre><code>  var total = = $('input[name='+formQty+'] :text').val();
  </code></pre>
  
  <p>What is a jquery for picking value/text of a textbox?</p>