JQuery - Get value out of an input field inside hidden div
<p>Will <code>$('#some-field').val()</code> return "something" or empty string? I assume it would return the value regardless if the div is visible or not. But I have been getting empty string. Any idea?</p>

<pre><code>&lt;div style="display:none;"&gt;
    &lt;form&gt;
        &lt;input id="some-field" type="text" value="something" /&gt;
    &lt;/form&gt;
&lt;/div&gt;
</code></pre>
