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?
$('selector').data()
You can use Visual Event for testing much better than any other tool that I used. You can get it for chrome here
Source: https://habr.com/ru/post/1747534/More articles:Animation by animation - cocoaWebDav timeout - c #What is the correct and reliable way to store an XML string as a JSON property? - jsonWhere is the method call in the exe file? - c #How to use $ .get data to replace certain elements on a web page? - jqueryPHP memcached: getDelayed & getMulti - how to use? - phpGood Javascript template engine for working with JSON - javascriptDifferences between the transition from vb6 to vb2005, vb2008, vb2010 - vb.netHow to implement objects that are normalized in a database in an object-oriented design? - language-agnosticWrong choice in ListBox with VirtualizationMode = "Recycling" and SeclectionMode = "Extended"? - virtualizationAll Articles