Answers for "getelementsbytagname is not a function javascript"

0

getelementsbytagname is not a function javascript

getElementsByClassName return a collection. 
So you just have to do this 

$('directoryresults')[0].getElementsByTagName('div').lenght;
Posted by: Guest on June-30-2021

Code answers related to "getelementsbytagname is not a function javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language