Skip to content Skip to sidebar Skip to footer

Don't Submit Form After Calling Javascript Function

I have this problem: my HTML code:
....

Solution 2:

Change type to "button" which shouldn't automatically submit this form.

<button type="submit" onClick="formhash_register(this.form);">Submit</button>

Post a Comment for "Don't Submit Form After Calling Javascript Function"