+ 1
How are the files linked in sl ?
hello evryone , made a quick search but found nothing convincing ... How are the Js and Css files linked in Sl ? Because the document.querySelector method doesn't seem to work properly
2 Answers
+ 3
what are you wait from querySelector? hmm...đ€
I think it's work properly
0
I changedy strategy i used a document.getElementByClassName.
For example i made something like that :
var objectParent = document.getElementByClassName (somevariablethatstoretheclass);
But the problem is here :
When i test the operation with alert(objectParent) , i get " htmlCollection" ( everything fine here ) BUT when i do alert(objectParent.className) i get "null".. Sorry for my approxomative technical english