Hi all,
I'm using Javascript to try to determine the final height of a
division so that I can use that value in calculations to set the
height of another division and also my body height. I'm using the
term:
var foo = document.getEle mentById('conte ntFrame').style .height;
to try to access the height value. Nothing seems to be returned. I can
set the height value to any arbitrary value I want, as in:
document.getEle mentById('conte ntFrame').style .height = 700 + "px";
and the "contentFra me" division height is properly set.
I can't figure out what I'm doing wrong or if I'm even on the right
path. Can I even "get there" from here? Can I only access value(s) I
explicitly set?
Thanks in advance
I'm using Javascript to try to determine the final height of a
division so that I can use that value in calculations to set the
height of another division and also my body height. I'm using the
term:
var foo = document.getEle mentById('conte ntFrame').style .height;
to try to access the height value. Nothing seems to be returned. I can
set the height value to any arbitrary value I want, as in:
document.getEle mentById('conte ntFrame').style .height = 700 + "px";
and the "contentFra me" division height is properly set.
I can't figure out what I'm doing wrong or if I'm even on the right
path. Can I even "get there" from here? Can I only access value(s) I
explicitly set?
Thanks in advance
Comment