Bug Tracker

Ticket #6247: test.html

File test.html, 592 bytes (added by ddango, 13 years ago)

test case

Line 
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3<html>
4<head>
5<script src="jquery-1.4.2.min.js" type="text/javascript"></script>
6<script type="text/javascript">
7        $(document).ready(function(){   
8    $("input[type='checkbox']").live("change", function(){
9                        alert("yo");
10                });     
11    $("#special").live("click", function(){
12      alert("ho");
13    });
14   
15        });
16</script>
17</head>
18<body>
19<form>
20  <input type="checkbox" id="cbx" />
21  <input type="checkbox" id="special" />
22  </form>
23</body>
24</html>