Need some work done? Post a Project Today
I have an order form with 3 radio buttons.
There are 3 changes on the page that need to be made based on which radio button is selected.
1. Image Change
There are 3 product images. One is the color version (for the product they've selected with the radio button) and the other two are grey versions of the image (to show the other options). When they change the radio button I want the images to change, so the one that used to be selected goes to the 'off' version and the one that was just selected goes to the 'on' version.
The part on the page that lists price will need to change based on which radio button is selected.
3. Hidden <input> field.
There is a hidden input field that needs to change its value based on which radio button is selected.
I want to use jquery for this.