document.getElementsByClassName


Snippet Details

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

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