How to use getElementsByClassName to select elements that are class2 and class1=X, with X being the variable of my function

后端 未结 0 593
耶瑟儿~
耶瑟儿~ 2020-12-03 18:48

In a Javascript function, I would like to select all elements that are class1 AND class2. But where "class1"=X and X is the variable of myfunction(X).

Is th

相关标签:
回答
  • 消灭零回复
提交回复
热议问题