Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

html from submitting with out reload

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>
Source by www.codexpedia.com #
 
PREVIOUS NEXT
Tagged: #html #submitting #reload
ADD COMMENT
Topic
Name
4+9 =