javascript variables containg jquery api evaluated at calling or assignment time?
<p>If i assign a variable something like this</p>

<pre><code>var a = $("input").val();
</code></pre>

<p>At the start of the program.
And then call something like this :</p>

<pre><code>$("div").html(a);
</code></pre>

<p>Will this print the value of the value which was the value in the <code>input</code> when the <code>var a = $("input").val();</code> was executed or when the line : <code>$("div").html(a);</code> was executed ?</p>
