|
I'm a javascripting noob and I need some help. I am trying to write a function that will make the user accept a terms of agreement. I have one radio button that says "accept" the other says "do not accept" I want to disable the submit button if the user chooses "do not accept", and the cancel button to redirect the page to the home page on click. If the user chooses "accpet" I want the submit button to enable, and on click action to take the user to the next page.
Does anyone know of a tutorial that could help me do this?
Thanks!
|