[thelist] get height of div with js after changing it?
david currey
dave at state51.co.uk
Thu Aug 15 14:08:00 CDT 2002
hi,
is there any way to retrieve the height of a div after it has been
changed (made taller) from a document.write or innerhtml.
eg.
a div is empty and it is 300px tall. using:
a=document.getElementById("Layer1").style.height
alert(a)
gives me 300px
but after i call a script which changes the div (innerhtml) and makes it
taller, the value returned to me is still 300px. is there anyway to get
the 'new' height.
thanks
dave
More information about the thelist
mailing list