Question: I have attached an event using "on" later I want to verify that does the control contain this event.

Example: 

```
//adding an event
$("#divControls").on('change',".myclass input", myfunction());

//verifying the event

if($(".myclass input"].change)
{
   // logic
}

```

How can I do that?

Answer: 
as it is delegated event, you just need to check for parents:

```
var $inputWithBoundChange = $(".myclass input").filter(function(){return $(this).closest('"#divControls"').length})

```

This will return all input inside .myclass element which have delegated event already bound.
Try this one

```
 $(document).on('change',"#divControls .myclass input", myfunction);

```