hi,
i want to use an image on my submit button, but im having problems with it, as it does not execute the javascript associated with it.
For example, this is my exit button:
<input type="image" name="exit" src="images/exit.jpg" border="0" onClick="window .close();">
When, i click on in, a window pops-up asking confirmation to exit or not, even if i say no, it goes back to the previously opened page. im having the same problem with other submit buttons when i use <input type=image>
Is there any other way i can put an image using <input type=submit> itself?
Please help.
i want to use an image on my submit button, but im having problems with it, as it does not execute the javascript associated with it.
For example, this is my exit button:
<input type="image" name="exit" src="images/exit.jpg" border="0" onClick="window .close();">
When, i click on in, a window pops-up asking confirmation to exit or not, even if i say no, it goes back to the previously opened page. im having the same problem with other submit buttons when i use <input type=image>
Is there any other way i can put an image using <input type=submit> itself?
Please help.
Comment