javascript:getElementByClassname:Is it possible to collect all the elements with same classname

 
 

Share on Google+Share on Google+

rr
javascript:getElementByClassname:Is it possible to collect all the elements with same classname
0 Answer(s)      5 years and 2 months ago
Posted in : JavaScript Questions

Is it possible to collect all the elements with same classname in a array n display the array by using getElementByClassname()?

like

a
a1

now i want to take a and a1 n put in single array. can any1 help me

Ads
View Answers
Ads









Related Tutorials/Questions & Answers:

Ads

 
Advertisement null

Ads