HTML od przesłania bez przeładowania
1his form has no submit input, thus it won’t reload the page because the form will never get submitted, but the javascript function will be executed the button input is clicked.
2
3
4
<form action="#">
<input type="text"/>
<input type="button" onclick="yourJsFunction();"/>
</form>
Smiling Skimmer