How can I get/set the height of an hidden element by jquery?
<p>How can I get/set the height of an hidden element by jquery?</p>

<pre><code>&lt;div id="test" style="display:none"&gt;...&lt;/div&gt;
</code></pre>

<p><code>$("#test").height()</code> return 0</p>

<p><code>$("#test").height(30)</code> return exception.</p>
