Hi Ariel, Thanks for getting back to me. That looks like a neat and tidy piece of code however it isn't working. I don't get any JavaScript errors throw which is a good thing, but is doesn't re-enable the checkbox when I scroll to the bottom.
<label for="terms" accesskey="T"><em>T</em>erms & Conditions:</label> <textarea name="terms" id="terms">jkhkjhkjhkjhkhkhkjhsf kjsdfkjhsd kheuh</textarea> <br /> <label for="agree" accesskey="a"> <input type="checkbox" name="agree" id="agree" disabled="true" /> I <em>A</em>gree to the Terms & Conditions </label> That's the HTML mark-up I'm using for the text area and checkbox, I've changed the id's in the JS snippet to match up with the id's of the fields: <script type="text/javascript"> $('#terms').scroll(function(){ if( $(this).scrollTop() == $(this).height() ) $('#agree').attr('disabled', false); }); </script> Any suggestions on this? Cheers mate, Rob -----Original Message----- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ariel Flesler Sent: 13 June 2008 16:40 To: jQuery (English) Subject: [jQuery] Re: Ensure Textarea has been read. I haven't tested this, but it should be something like this: $('#terms').scroll(function(){ if( $(this).scrollTop() == $(this).height() ) $('#submit').attr('disabled', false); }); Cheers -- Ariel Flesler http://flesler.blogspot.com On 13 jun, 10:44, Sir Rawlins <[EMAIL PROTECTED]> wrote: > Afternoon All, > > I have a form which includes a textarea, inside the text area I'm > displaying the terms and conditions of a service which a user must > agree too before continuing thier registration process. I want to have > the checkbox which they must select to accept the terms and conditions > to be disabled untill they have scrolled down to the bottom of the > textarea. > > I'm a total and utter noob when it comes to jQuery and have a > relativly limited knowledge of JS in general so would really > appreciate your advice on how to handle this challenge. > > Thanks guys, > > Rob