jquery - How to know where javascript method is defined and which method is called using firebug -


How do we know where and how the JavaScript method is defined? (When methods are dynamically added) Let us consider the situation where the JQuery Bind method is used to bind an event. If I see the firebug control in firebug, then I can see the events = object {click =} handle = function but I do not know which method is enclosed with click event. Is there any way to find out this method that this file is being asked? For 3-4 files, I could search but for a large number of files with heavy code, it is difficult to find.

You console.atas () but this works only within the function

You may also get the question and useful answers can be given here:


Comments