Bug Tracker

Ticket #3332: focus_blur.html

File focus_blur.html, 347 bytes (added by levl289, 6 years ago)
Line 
1<html>
2<head>
3  <script type="text/javascript" src="jquery.js"></script>
4  <script type="text/javascript">
5  $(document).ready(function(){
6
7    $("input").focus(function () { $("p").text("focus") });
8    $("input").blur(function () { $("p").text("blur") });
9
10  });
11  </script>
12</head>
13<body>
14  <input type="checkbox" name="test1">
15</body>
16</html>