Change TR height
I have the following table :
<table width="129" border="0" cellpadding="1" cellspacing="1" height='100%'>
<tr id='trblaat1' style='height:50%'>
<td height='100%'>
some text
</td>
</tr>
</table>
And I have the following javascript function
function test(){
element=document.getElementById("trblaat1");
}
Now I want to alter the function test so that the function will change the height of the table.
I've already tried it with
function test(){
element=document.getElementById("trblaat1");
element.style.offsetHeight("100%");
}
but that didn't worked
Does anybody have a solution ?
God is real , unless declared int.
Bookmarks