posted 21 years ago
Hi,
I have created a scrollbar for a table using <div> tag with style
div.mytbl
{
height:104px;
width: 100%;
padding-right: 1px;
overflow: auto;
}
New rows are added to table dynamically and at that time the scrollbar gets generated.
I want to get whether the scrollbar has appeared or not using a call in my method similar to getting div height
alert(document.getElementById("MYDIV").style.height);
Thx
Anusha