Bug Tracker

Ticket #5970: ie_change_event_with_focus.html

File ie_change_event_with_focus.html, 493 bytes (added by tinyfly, 5 years ago)
Line 
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3<html>
4        <head><title>IE Change Event Test</title></head>
5<body>
6        <input type="text" name="test1" id="test1" />
7        <p></p>
8
9<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
10<script type="text/javascript">
11        $("input").focus().change(function () {
12                $("p").append("<br>Value: "+ $(this).val());
13        });
14</script>
15</body>
16</html>