document.getElementsByClassName


Snippet Details

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

Declarations

ID ToolTip Default
element DOM element's class .classname

Code Output

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

Download Add to .VSIX Package


comments powered by Disqus

Extension Package

No snippets are added


Languages