Jquery - get "defined" height of an element -
in code, element (tr) has inline style tag defines height of 31px. after rendering, height of tr expands 32px, because of content.
i'm trying read height of 31px via jquery, these methods computed height of 32px.
my question is: have read style attribute , extract height there, or there way getting value using jquery (or native javascript).
you can use .height
trheight = document.getelementbyid("mytr").style.height;
Comments
Post a Comment