can't get height of object in chrome

Posted by Cinaird on Stack Overflow See other posts from Stack Overflow or by Cinaird
Published on 2010-03-22T17:26:57Z Indexed on 2010/03/22 17:31 UTC
Read the original article Hit count: 414

Filed under:
|
|

i want to get the height property of a object:

thisImage = $('#topContent img').get(index);

so long no problem, but then i want to get the height like this:

thisImage.height;

i thought it was equvivilent to:

thisImage.height();

or:

thisImage.css("height");

but neither does work for me.

And the greatest problem is that

thisImage.height;

Dose not work in chrome.

Have i missed something or is this a known bug? is there another way to get the height in chrome?

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about height