dsaba Posted June 22, 2008 Share Posted June 22, 2008 I've tried these properties of the textarea element: offsetHeight scrollHeight They effectively tell me when the text has overflowed where it causes there to be scrollbars in the textarea. However, I need to know the location of scrollbars themselves. How can I know where the scrollbar stands in its scrolling range? I have no idea if the user has scrolled halfway down the textarea, not scrolled at all, or when they start to scroll. How can i tell the location of the scrollbar (width or height) in a textarea? -thanks Link to comment https://forums.phpfreaks.com/topic/111361-tell-location-of-scrollbars-in-textarea/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.