aboutsummaryrefslogtreecommitdiffstats
path: root/test/delegatetest.html
diff options
context:
space:
mode:
authorjeresig <jeresig@gmail.com>2009-12-21 12:54:39 -0500
committerjeresig <jeresig@gmail.com>2009-12-21 12:54:39 -0500
commitd7a00234abb07658b47b098a318af334ff3b2509 (patch)
tree3231c2c4d29188f80cb90c518a7ffd0b97fc279f /test/delegatetest.html
parent0d5bd174614fa278826ac4aaaa64342f17c0ae56 (diff)
downloadjquery-d7a00234abb07658b47b098a318af334ff3b2509.tar.gz
jquery-d7a00234abb07658b47b098a318af334ff3b2509.zip
Make sure we use instead of in the delegate test.
Diffstat (limited to 'test/delegatetest.html')
-rw-r--r--test/delegatetest.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/delegatetest.html b/test/delegatetest.html
index c580b290e..cf30d87e3 100644
--- a/test/delegatetest.html
+++ b/test/delegatetest.html
@@ -111,12 +111,12 @@
$(".radio_test").live("change",makeChangeFunc("#radio"))
$('textarea').live('change', makeChangeFunc("#textarea"))
$('#input').live('change', makeChangeFunc("#text"))
- $().bind('change', makeChangeFunc("#boundChange"))
+ $(document).bind('change', makeChangeFunc("#boundChange"))
$("#text_submit").live("submit", makeChangeFunc("#textSubmit", true) )
$("#password_submit").live("submit", makeChangeFunc("#passwordSubmit", true) )
$("#submit_submit").live("submit", makeChangeFunc("#submitSubmit", true) )
- $().bind('submit', makeChangeFunc("#boundSubmit"))
+ $(document).bind('submit', makeChangeFunc("#boundSubmit"))
</script>
</body>