diff options
author | jeresig <jeresig@gmail.com> | 2009-12-21 12:54:39 -0500 |
---|---|---|
committer | jeresig <jeresig@gmail.com> | 2009-12-21 12:54:39 -0500 |
commit | d7a00234abb07658b47b098a318af334ff3b2509 (patch) | |
tree | 3231c2c4d29188f80cb90c518a7ffd0b97fc279f /test/delegatetest.html | |
parent | 0d5bd174614fa278826ac4aaaa64342f17c0ae56 (diff) | |
download | jquery-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.html | 4 |
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>
|