document.getElementById


Snippet Details

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

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