summaryrefslogtreecommitdiff
path: root/src/main/webapp/jquery-ui-1.9pre/tests/visual/button/button_ticket_5261.html
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2011-11-25 21:18:19 +0100
committerLeif Johansson <leifj@sunet.se>2011-11-25 21:18:19 +0100
commit3909e6d89e01e4cd8777377c63037896bb95aa2f (patch)
tree59679df287c2bee55087fb5afb8d42e7f93a44fb /src/main/webapp/jquery-ui-1.9pre/tests/visual/button/button_ticket_5261.html
parente5f94e9be5017f627c1ccd8c6306c5cc2e200432 (diff)
new jq layout
Diffstat (limited to 'src/main/webapp/jquery-ui-1.9pre/tests/visual/button/button_ticket_5261.html')
-rw-r--r--src/main/webapp/jquery-ui-1.9pre/tests/visual/button/button_ticket_5261.html42
1 files changed, 42 insertions, 0 deletions
diff --git a/src/main/webapp/jquery-ui-1.9pre/tests/visual/button/button_ticket_5261.html b/src/main/webapp/jquery-ui-1.9pre/tests/visual/button/button_ticket_5261.html
new file mode 100644
index 0000000..0024393
--- /dev/null
+++ b/src/main/webapp/jquery-ui-1.9pre/tests/visual/button/button_ticket_5261.html
@@ -0,0 +1,42 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="UTF-8" />
+ <title>Button Visual Test : Button ticket #5261</title>
+ <link rel="stylesheet" href="../visual.css" type="text/css" />
+ <link rel="stylesheet" href="../../../themes/base/jquery.ui.all.css" type="text/css">
+ <script type="text/javascript" src="../../../jquery-1.7.1.js"></script>
+ <script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
+ <script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>
+ <script type="text/javascript" src="../../../ui/jquery.ui.button.js"></script>
+ <script type="text/javascript">
+ $(function() {
+
+ $('#id1').button().change(function(e) {
+ console.log('change', e);
+ });
+ $('#id1').bind('change', function(e) {
+ console.log('bound change', e);
+ });
+ $("body").live('change', function(e) {
+ console.log('live change on body', e);
+ });
+ $(document).delegate('input', 'change', function(e) {
+ console.log('delegated input change', e);
+ });
+ $(document).change(function(e) {
+ console.log('delegated change on document', e);
+ });
+
+ });
+ </script>
+</head>
+<body>
+
+<h1 class="ui-widget-header"><a href="http://dev.jqueryui.com/ticket/5261">#5261 - button change events don't fire in IE 7/8</a></h1>
+
+<input name="1" id="id1" type="checkbox"/>
+<label for="id1">Checkbox</label>
+
+</body>
+</html>