In Chrome, if you right-click on a DOM element and select "check element", one of them is displayed on the "Elements" tab of the debugger. In addition, the JavaScript variable is $0populated with a “verified” DOM element.
Given the DOM element, is there a way to get JavaScript to force the browser to “check” it so that the browser fills in the value for it $0initially without performing the assignment itself?
source
share