how to get image height from dom tree using jquey when height attribute is not set
<p>I want to get image height and width when it is not set from height attribute and not also set in css. Real height and width of image which we get in dom tree or when browser render image with image's original height and width.
I tried following but didn't worked,</p>

<pre><code>$("#idname img").attr('height');
</code></pre>

<p>but this need height attribute to set in image&lt;></p>
