Ticket #3332: test-3332.html
File test-3332.html, 452 bytes (added by , 13 years ago) |
---|
Line | |
---|---|
1 | <html> |
2 | <head> |
3 | <script type="text/javascript" src="jquery-1.3.js"></script> |
4 | <script type="text/javascript"> |
5 | $(document).ready(function(){ |
6 | |
7 | $("input").focus(function () { $("p").append("<br>focus "+this.id) }); |
8 | $("input").blur(function () { $("p").append("<br>blur "+this.id) }); |
9 | |
10 | }); |
11 | </script> |
12 | </head> |
13 | <body> |
14 | <input type="checkbox" name="test1" id="test1"> |
15 | <input type="checkbox" name="test2" id="test2"> |
16 | <p></p> |
17 | </body> |
18 | </html> |