For the FireFox's Inspect Element feature, is there an easy way to find where a javascript junction is located?
Let's say I got a function in my HTML body such as "onclick=return CallingMyFunction()" , how do I know where this function was defined? whether in the HTML codes or in a .js file?
I need to know an effective way to locate the codes.
Thank you.
FirefoxWeb BrowsersHTML
Last Comment
trowa
8/22/2022 - Mon
Imran Ali
You can search JavaScript function under Firefox debugger. See attached screenshot.
Select JavaScript file from left & perform search.
trowa
ASKER
@Imran
I'm not using the FireBug for debugging, can you show me how using the Inspect Element instead? Thank you.
Imran Ali
I am using default Firefox debugger not FireBug.
See attached screenshot on how to enable debugger.
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
trowa
ASKER
@Imran, I have clicked on that, What to do next after that? I can't see the same interface as what you shown in comment: ID: 42042319
Imran Ali
You can open JavaScript debugger on Firefox by Clicking Menu > Developer > Debugger.
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
Select JavaScript file from left & perform search.