Accessing the height of div in javascript
<p>I have a div :</p>

<p><strong>css</strong></p>

<pre><code>    div { width: 200px; height:auto }
</code></pre>

<p><strong>markup</strong></p>

<pre><code>   &lt;div contenteditable="true"&gt; Text is editable &lt;/div&gt;
</code></pre>

<p>Now what should i do to access the <code>height ( numeric value )</code> of the above div in javascript ? I tried </p>

<p><code>$('div').height()</code> &amp; <code>$('div').css("height");</code> both returns <code>auto</code>.</p>
