how can I create a variable from an input box using jquery without using buttons?
<p>Part of my page</p>

<pre><code>&lt;html&gt;
&lt;input type="text" id="myNumber" value=""&gt; 
&lt;/html&gt;
</code></pre>

<p>Some function</p>

<pre><code>var value = $(this).val(#myNumber);
</code></pre>
