Hello,
I am looking for a javascript that will change the image of my submit button upon selecting a radio option.
Basically, it is a I agree, I disagree page. I have an image for the submit button that is greyed out and disabled. I want this to switch to a different image and enable the button once a user chooses I agree, or I disagree.
Some HTML code:
Code:
<input type="radio" name="rdoption" value="index.php?id=137" />
I Agree with all of the of the terms and conditions<br />
<input type="radio" name="rdoption" value="index.php?id=2" />
I do not agree with all of the of the terms and conditions
<input id="next_button" enabled="false" type="image" src="images/next_grey.gif" value="Submit" />
Any help is much appreciated.
_
Chris
|