tags:

views:

50

answers:

0

Hi all,

I am attempting to inspect the events bound to an element using the following syntax

$(item).data("events");

I have also tried

$(item).data("events").change;  

I know for certain that the change event is bound and if I do this

$(item).attr("change") 

I can see that an attribute with that name has been registered.

I am using the syntax:

$(item).change(handler) 

to bind an event.

Why can't I get at my data("events") object?