The click event should only trigger ONE function.

I use a lot of ajax content and for some reason, it happens that on
one object (#login) there a several click bindings.
It's not visible for the user but in the console.

So i would be nice if there would be some kind of check like ....

var test = $("#login").binding("click"); //is there already a
binding ?
If(!test) $("#login").bind("click"); //no, bind the click event ...

Reply via email to