how do i check if an event is already bound?
hi, i got an ajax script that appends a new form as the user perform some actions.
then i bind them to the 'submit' event.
the problem is that the existing forms get bound again and now submit twice, while the newly appended forms submit once.
is there a function to check if that form has already been bound, so that i won't bind it again?
in the docs there's a unbind(). But will it slow down if i append more and more forms?
unbind().bind() seems quite wasteful....