detecting div tag's scrollbar

admin

Administrator
Staff member
Hello,

I have the following tag in my html page:

<div id='divTag' style="overflow: auto; height:'100%'; ">

When the page loads I'd like to query this div tag to see if the scrollbar is currently visible. I have tried varieties of the following:

window.document.getElementById("divTag").style.overflow

but can't seem to find any information of value. Any ideas would be greatly appreciated!

Thanks!
Rachel
 
Back
Top