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

<form onreset="resetform()">
  Enter ID: <input type="text">
  <input type="reset">
</form>

<script>
function resetform() {
    alert("Data cleared");
}
</script>

</body>
</html>
Previous Topics
Previous lessons of current book.
FORM 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
COMPONENTS of HTML 4
FORM EVENTS of HTML 4
MOUSE EVENTS of HTML 4
COMPONENTS of HTML 4
PAGE EVENTS 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