tie submit button to checkbox being checked
I have an application with a page that is basically an on-line form. At the bottom of the page I have a list of conditions with an "accept" checkbox and a SUBMIT INFO button. I would like to make the SUBMIT button inactive until the user checks the "accept" checkbox, so that they have to accept the conditions in the form before they can submit their data.
I can do it using a checkbox with javascript that submits the page, and setting the button to be conditional on the checkbox = 1. But what I'd like to be able to do is check the checkbox and make the button active, without having to submit (refresh the page).
I know this is an AJAX type of thing, but I'm not sure of how to do it in this instance.
Thanks in advance,
John