Is there a way to find where a function is placed into a script? Like:
<div onclick="sayHello()">Hello</div>
In which script is the function sayHello() ?
Advertisement
Answer
hit f12, click on the console tab
type sayhello
and hit enter
Then double click on the line that appeared under your line.f (e){.....
That will jump you to the correct code.