I have a table in HTML code.
I need to get height of that table using JavaScript, so
alert(document.getElementById('myTable').clientHeight);
returns a correct value in IE, but always returns 0 in FF.
How can I get the height of the table in Firefox?
Thanks!
MDC says:
In Firefox, the
offsetHeightproperty contains the current pixel height of an element, so you can use something like: