title: jquery mobile get value from input
body: <p>I'm trying get the value from a input but it doesn't work</p>
  
  <p>I have:</p>
  
  <pre><code>&lt;input id="inputA" name="inputA" type="number" value="25" /&gt;
  </code></pre>
  
  <p>and:</p>
  
  <pre><code>var pot = $('#inputA').val();
  </code></pre>
  
  <p>Also, I have tried:</p>
  
  <pre><code>var pot = $('#inputA').text();
  </code></pre>
  
  <p>But it doesn't work.</p>
  
  <p>I need help please!</p>