Determine Which Js File/line Is Modifying An Element On My Page
I need to determine which JS file/line is modifying an element on my page. I'm trying to find a needle in a haystack here. For example, I'm digging through 35 .js files to find ou
Solution 1:
In Google Chrome:
- Right-click on the element you want to detect changes to.
- In the Elements pane of the Developer Tools that shows up, right click on the element again (in this case a
<label>
element. - Choose
Break on…
▶Attributes Modifications
(orSubtree Modifications
) - Reload. Voila! You are stopped at the JavaScript code making the modification.
Post a Comment for "Determine Which Js File/line Is Modifying An Element On My Page"