Bug Tracker

Ticket #5899: jquery.1.4.change_bubble_failure.html

File jquery.1.4.change_bubble_failure.html, 797 bytes (added by adamaig, 10 years ago)

bubble failure example

Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
2  "http://www.w3.org/TR/html4/strict.dtd">
3
4<html>
5<head>
6  <meta http-equiv="Content-type" content="text/html; charset=utf-8">
7  <title>Page Title</title>
8  <script type="text/javascript" src="http://code.jquery.com/jquery-1.4.min.js" charset="utf-8"></script>
9</head>
10<body>
11  <select name="test" id="foo">
12    <option>Select something</option>
13    <option value="option1">option1</option>
14    <option value="option2">option2</option>
15  </select>
16 
17  <textarea name="Name" rows="8" cols="40">delete this text</textarea>
18  <script type="text/javascript" charset="utf-8">
19    jQuery(document).ready( function($) {
20      $('select, textarea').live('change', function() { alert('select changed'); return true; })
21    });
22  </script>
23</body>
24</html>