Is there any way I can view the current method assigned to a selects change event.
I have tried.
$('#select').change()
but that just returns me the change event. I don’t really need to do this but would be very handy for debugging. Save me hunting through the code to find the method, this way I can simply search the text in the method and find the method quickly.
This will contain an array of objects, one per event handler.
If you’re sure there’s only one change event handler, you can access the function directly:
See it here in action: http://jsfiddle.net/7UD3e/