The easiest way would be to have an id on the button like: <input type="submit" id="submit" />
and then the jQuery would be: $(document).ready(function() { $("#submit").attr("disabled", "disabled"); }); On Oct 14, 2:12 am, Rahul Sinha <[EMAIL PROTECTED]> wrote: > Hello, > > Please go through the below given requirement and provide me help > asap. > > "disable the submit button until the user has scrolled all the way > through the agreement" > How can this be done using jquery if not then using pure js. > > Thanks > Rahul