usually when I bind a click event I do this.
unbind before bind
$(elm).unbind('click');
$(elm).bind("click", function() {
});
may be a modification like this
if(!$(elm).unbind('click')) {
$(elm).bind("click", function() {
alert("This element was only bound if it was not bound");
});
}
On Sat, Jan 2, 2010 at 7:28 PM, ranacseruet <[email protected]> wrote:
> I need to check whether an element is bound to an event or not. How to
> achieve this?
>
>

