Re:Postcards from the post-XSS world
by zerker2000 on Wednesday July 23, 2014 @12:52AM
(#8072961)
"For any type of a tag, a new node with a name matching the id parameter of the tag is inserted into the default object scope. In other words, <div id=test> will create a global variable test (of type HTMLDivElement), pointing to the DOM object associated with the tag."
Did not know this.
[ Parent
| on HN ]