Side navigation
Ticket #3332: test-3332.html
File test-3332.html, 0.4 KB (added by dmethvin, January 17, 2009 06:26PM UTC)
Working test case
<html>
<head>
<script type="text/javascript" src="jquery-1.3.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$("input").focus(function () { $("p").append("<br>focus "+this.id) });
$("input").blur(function () { $("p").append("<br>blur "+this.id) });
});
</script>
</head>
<body>
<input type="checkbox" name="test1" id="test1">
<input type="checkbox" name="test2" id="test2">
<p></p>
</body>
</html>
Download in other formats:
Original Format
File test-3332.html, 0.4 KB (added by dmethvin, January 17, 2009 06:26PM UTC)
Working test case
<html>
<head>
<script type="text/javascript" src="jquery-1.3.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$("input").focus(function () { $("p").append("<br>focus "+this.id) });
$("input").blur(function () { $("p").append("<br>blur "+this.id) });
});
</script>
</head>
<body>
<input type="checkbox" name="test1" id="test1">
<input type="checkbox" name="test2" id="test2">
<p></p>
</body>
</html>