I used this code to get the height of a dynamic table
var table = document.getElementById("test");
document.write(table.offsetHeight);
But now I need to use that value to set the height of a div beside that table. I don't know how to do this. I was hoping it could be done easily through the inline style of the div but I couldn't do it.
Thanks