[jQuery] Binding of object
Hey,
is it possible to get the "binding" of an object.
Let`s say i do
$("#login").click(function);
so the next time i call $("#login") i want to check if a click event
is already bind to that obejct.
So that i don't have a double binding (in this case the click is
doubletriggered)
My solution was to unbind it.
$("#login").unbind("click").click(function);
This does work but i was just curious if there is another possibility
to check this.