diff options
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>
|