Hi,
I’ve created a submit button that is actually an image. I need the button to change to another image when the user clicks it (It will change from an image saying “submit” to an image saying “please wait”). I’m doing this to try and stop people continually clicking the submit button.
I’ve found some code that will change the value on a submit button when someone clicks it.
[CODE]<INPUT TYPE=”SUBMIT” CLASS=”FormButton” VALUE=”Login >>>” NAME=”InputSubmit” onClick=”this.value=’Please Wait…’; this.className=’FormButtonClicked'”>
This links to a CSS file that changes the appearance of the button.
However, this doesn’t apply to images but just the standard HTML buttons.
Does anyone know if its possible to do something like this for images?
Thanks
Scouse