Side navigation
Ticket #4543: doubleevents.html
File doubleevents.html, 0.6 KB (added by veged, April 16, 2009 10:48AM UTC)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<script src="http://getfirebug.com/releases/lite/1.2/firebug-lite-compressed.js" type="text/javascript"></script>
<script src="http://code.jquery.com/nightlies/jquery-nightly.js" type="text/javascript"></script>
<script type="text/javascript">
$(function(){
$('input').bind('focus', function(e){
console.log(arguments);
});
$('#bla').focus();
});
</script>
</head>
<body>
<input id="bla" type="text" value="bla"/>
</body>
</html>
Download in other formats:
Original Format
File doubleevents.html, 0.6 KB (added by veged, April 16, 2009 10:48AM UTC)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<script src="http://getfirebug.com/releases/lite/1.2/firebug-lite-compressed.js" type="text/javascript"></script>
<script src="http://code.jquery.com/nightlies/jquery-nightly.js" type="text/javascript"></script>
<script type="text/javascript">
$(function(){
$('input').bind('focus', function(e){
console.log(arguments);
});
$('#bla').focus();
});
</script>
</head>
<body>
<input id="bla" type="text" value="bla"/>
</body>
</html>