Knowledge Walls
Venkatesan
Hyderabad, Andhra Pradesh, India
Passcode:
MOUSE EVENTS [cont'd]
HEADER [cont'd]
onsubmit in FORM EVENTS of HTML 4
1030 Views
Usage 
The onsubmit will get triggered when form data submit.
Example
<html>
<body>

<form onsubmit="sub()">
  Enter ID: <input type="text">
  <input type="submit">
</form>

<script>
function sub() {
    alert("Data submitted");
}
</script>

</body>
</html>
Next Topics
Next lessons of current book.
FORM EVENTS of HTML 4
HTML BLOCK of HTML 4
HTML BLOCK of HTML 4
HTML BLOCK of HTML 4
HEADER of HTML 4
Previous Topics
Previous lessons of current book.
KEYBOARD EVENTS of HTML 4
KEYBOARD EVENTS of HTML 4
KEYBOARD EVENTS of HTML 4
KEYBOARD EVENTS of HTML 4
KEYBOARD EVENTS of HTML 4
Best Lessons of "HTML 4"
Top lessons which are viewed more times.
TEXT FONT STYLE of HTML 4
KEYBOARD EVENTS of HTML 4
FORM EVENTS of HTML 4
FORM EVENTS of HTML 4
MOUSE EVENTS of HTML 4
HTML BLOCK of HTML 4
PAGE EVENTS of HTML 4
COMPONENTS of HTML 4
KEYBOARD EVENTS of HTML 4
MOUSE EVENTS of HTML 4
  Copyright © 2014 Knowledge walls, All rights reserved
KnowledgeWalls
keep your tutorials and learnings with KnowledgeWalls. Don't lose your learnings hereafter. Save and revise it whenever required.
Click here for more details