Problem with image buttons in javascript
So yeah, when I use the button without image
<FORM>
<INPUT type="button" value="lol" name="button1" style="z-index: 0; left: 105px; position: absolute; top: 310px" onClick="Continue() ">
</FORM>
It works just as it is supposed to, but when i do the same thing with an image
button
<FORM>
<INPUT type="image" src="Files/ContinueButton.png" name="button1" style="z-index: 0; left: 105px; position: absolute; top: 310px" onClick="Continue() ">
</FORM>
it refreshes the page after doing the Continue() function.
How can i make a simple button with an image that will execute Continue()
when clicked without refresh?