How do I trace the origin of a generated Javascript HTML element (XHR) using the Chrome Web developer tools?

I'm interested in an HTML page that uses an XHR object to request JSON data from a server, and then some Javascript (jQuery) code is used to translate that data into HTML highlighting elements.

I wonder if you can track the "origin" of any HTML element using the Chrome Web Developer tools. That is, I want to understand if some particular element was generated by some Javascript code, and if so, which, which line and through which XHR object. I could not find a way. Is it possible?

+4
source share

Source: https://habr.com/ru/post/1530640/


All Articles