Im trying to make a simple button with an image in JavaScript for my web page. The code is

<FORM>
<INPUT type="image" src="Files/ContinueButton.png" name="button1" style="z-index: 0; left: 105px; position: absolute; top: 310px" onClick="continue() ">
</FORM>

Everything else is ok, except when i click the button it should execute function continue() but it doesnt.