Quote:
Originally Posted by SiM99_wrk
I don't want the image to submit the form, that's the point.
|
Then why do you use an image input? Why do you need a form, if you don't want to submit data?
Once again, the
submit action can be stopped only within the FORM element while using
return false the the
onsubmit event.
Code:
<form action="" onsubmit="return false">