jQuery: is val() fast enough to use repeatedly or is it better to put the value in a variable
<p>If you are doing something like the following:</p>

<pre><code>var i = $('input[@name=some_field]');
if (i.val() != '' &amp;&amp; !(i.val() &gt;=1 &amp;&amp; i.val() &lt;= 36) || i.val() == 'OT')) {
     i.focus();
}
</code></pre>

<p>is <code>i.val()</code> fast enough to use it multiple times or should you do:</p>

<pre><code>var value = i.val();
</code></pre>

<p>first and then use value in the if statement, like:</p>

<pre><code>var i = $('input[@name=some_field]');
var value = i.val();
if (value != '' &amp;&amp; !(value &gt;=1 &amp;&amp; value &lt;= 36) || value == 'OT')) {
     i.focus();
}
</code></pre>

<p>...?</p>
