jussa
10-13-2006, 03:20 PM
Hi all, i have the following function...
function ChangeTextboxSize(size) {
var objBox = document.getElementById("txtComment");
var curHeight = objBox.style.height;
alert(curHeight)
}
and it should return a height of 90px; as defined in my css, yet it returns an empty alert box...can someone enlighten me as to why??
Thanks, Justin
function ChangeTextboxSize(size) {
var objBox = document.getElementById("txtComment");
var curHeight = objBox.style.height;
alert(curHeight)
}
and it should return a height of 90px; as defined in my css, yet it returns an empty alert box...can someone enlighten me as to why??
Thanks, Justin