I am binding a click event with a button:
$('#myButton').bind('click', onButtonClicked);
In one scenario, this is getting called multiple times, so when I do a trigger I see multiple ajax calls which I want to prevent.
How do I bind only if its not bound before.