How to find out if a DOM element is attached using Javascript or not?

For some testing purpose, I want to traverse the DOM and want to find out if this particular element is bound to some JS. I am using jQuery. I tried with $('selector').data(), but to no avail. Can anyone help me out?

+3
source share
1 answer

You can use Visual Event for testing much better than any other tool that I used. You can get it for chrome here

+1
source

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


All Articles