Is there a way to retrieve the element source of an inline javaScript call?
I have a button like this:
USE .live()
$(selector).live(events, data, handler);
As of jQuery 1.7, the .live() method is deprecated. Use .on() to attach event handlers.
$(document).on(events, selector, data, handler);