Javascript - Get element by class name

0 votes
87 views
added Mar 23, 2018 in Javascript by LC Marshal Captain (25,770 points)
edited Jul 13, 2018 by LC Marshal
var x = document.getElementsByClassName("example");

 

lazacode.org - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.
...