12-01-2018, 06:50 PM
(11-14-2018, 08:40 AM)Alexandre Machado Wrote: Hi Shane,
Add a parameter "event" to your function OnWindowScroll() and use event.target to obtain the element which triggered the event. So you should have:
function OnWindowScroll(event) {
var theObject = event.target;
...
}
Please let me know if it does what you want.
Kind regards
Howdy Alexandre!
I am finally getting back to this and it still doesn't work.
I have a region with a long string of text and I just want to know when the user scrolls to the end of it so I can enable an Accept Terms button.
Any chance for a quick small demo
?Thanks in advance,
Shane

