document.getElementById


Snippet Details

Shortcut
geti
Description
Get a DOM element by its ID
Language
javascript
Types
Expansion
Author
Jeremie Corpinot
Upload on
1-11-2015 14:14:27
Downloads
2169

Declarations

ID ToolTip Default
element DOM element's id #id

Code Output

        document.getElementById("$element$");$end$
    

Download Add to .VSIX Package


comments powered by Disqus

Extension Package

No snippets are added


Languages