html desde enviar sin recarga

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