Side navigation
Ticket #5899: jquery.1.4.change_bubble_failure.html
File jquery.1.4.change_bubble_failure.html, 0.8 KB (added by adamaig, January 22, 2010 03:29PM UTC)
bubble failure example
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<title>Page Title</title>
<script type="text/javascript" src="http://code.jquery.com/jquery-1.4.min.js" charset="utf-8"></script>
</head>
<body>
<select name="test" id="foo">
<option>Select something</option>
<option value="option1">option1</option>
<option value="option2">option2</option>
</select>
<textarea name="Name" rows="8" cols="40">delete this text</textarea>
<script type="text/javascript" charset="utf-8">
jQuery(document).ready( function($) {
$('select, textarea').live('change', function() { alert('select changed'); return true; })
});
</script>
</body>
</html>
Download in other formats:
Original Format
File jquery.1.4.change_bubble_failure.html, 0.8 KB (added by adamaig, January 22, 2010 03:29PM UTC)
bubble failure example
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<title>Page Title</title>
<script type="text/javascript" src="http://code.jquery.com/jquery-1.4.min.js" charset="utf-8"></script>
</head>
<body>
<select name="test" id="foo">
<option>Select something</option>
<option value="option1">option1</option>
<option value="option2">option2</option>
</select>
<textarea name="Name" rows="8" cols="40">delete this text</textarea>
<script type="text/javascript" charset="utf-8">
jQuery(document).ready( function($) {
$('select, textarea').live('change', function() { alert('select changed'); return true; })
});
</script>
</body>
</html>