During some code investigating, I found a html submit button like
this:
I
know somewhere there is javascript code that handeles the button
click
event. How can I find that javascript
code?
Answer
In
Firefox:
- F12
- Find
the line you want to inspect - Click on the small
ev button at the end of the line (if there is nothing then
no JavaScript is linked) - See what is linked to
it
In
Chrome:
- F12
- Click
on the line you want to inspect - Click on the
"Event Listeners"
Tab (where you see the styles by
default) - There you can see the linked
events
In Edge:
- F12
- Click
on the DOM Explorer tab - Click on the line you want to
inspect - Click on the
"Events"
Tab (where you see the styles by default) - There you can
see the linked events
No comments:
Post a Comment