[jQuery] Enable a disabled checkbox after the user has completely scrolled down to the bottom of a textarea
Hi,
I'm trying to recreate a behaviour which enables a disabled checkbox
after the user has completely scrolled down to the bottom of a
textarea ("agree to license terms").
My current state can be found at http://jsbin.com/izagu
The checkbox is not being enabled with my approach. I can enable the
checkbox if I explicitly set scrollTop to a value, but then I'm not
able to scroll anymore at all. So I am guessing it probably has to do
with the scroll check not working properly.
Any hints appreciated.