Bug Tracker

Ticket #3675: test-3675.html

File test-3675.html, 568 bytes (added by dmethvin, 14 years ago)

test of form reset event

Line 
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
3<head>
4  <script src="jquery-1.3.1-test.js"></script>
5 
6  <script>
7  $(document).ready(function(){
8
9$("form").bind("reset", function(){ alert("reset") });
10
11  });
12  </script>
13  <style>
14
15  </style>
16</head>
17<style>
18
19</style>
20<body>
21
22<form>
23    <input name="field1" value="value1" />
24    <input type="reset" name="wipit" value=" reset " />
25</form>
26
27</body>
28</html>