Hi All,
I think this is probably a pretty simple one but I am new to Javascript.
All I want to do is have a Form button cause an image swop. This is easy. How do I make the button then change the image back next time it is pressed?
The idea is the user clicks the button and the image and the 'value' of the button change.When the user clicks again they return to the original image and 'value'.
I've been messing around with else if constructs with little success.
Can anybody help me please?
starfishh
I think this is probably a pretty simple one but I am new to Javascript.
All I want to do is have a Form button cause an image swop. This is easy. How do I make the button then change the image back next time it is pressed?
The idea is the user clicks the button and the image and the 'value' of the button change.When the user clicks again they return to the original image and 'value'.
I've been messing around with else if constructs with little success.
Can anybody help me please?
starfishh