Make sure we use instead of in the delegate test.

This commit is contained in:
jeresig 2009-12-21 12:54:39 -05:00
parent 0d5bd17461
commit d7a00234ab

View File

@ -111,12 +111,12 @@
$(".radio_test").live("change",makeChangeFunc("#radio")) $(".radio_test").live("change",makeChangeFunc("#radio"))
$('textarea').live('change', makeChangeFunc("#textarea")) $('textarea').live('change', makeChangeFunc("#textarea"))
$('#input').live('change', makeChangeFunc("#text")) $('#input').live('change', makeChangeFunc("#text"))
$().bind('change', makeChangeFunc("#boundChange")) $(document).bind('change', makeChangeFunc("#boundChange"))
$("#text_submit").live("submit", makeChangeFunc("#textSubmit", true) ) $("#text_submit").live("submit", makeChangeFunc("#textSubmit", true) )
$("#password_submit").live("submit", makeChangeFunc("#passwordSubmit", true) ) $("#password_submit").live("submit", makeChangeFunc("#passwordSubmit", true) )
$("#submit_submit").live("submit", makeChangeFunc("#submitSubmit", true) ) $("#submit_submit").live("submit", makeChangeFunc("#submitSubmit", true) )
$().bind('submit', makeChangeFunc("#boundSubmit")) $(document).bind('submit', makeChangeFunc("#boundSubmit"))
</script> </script>
</body> </body>