is there a way to join 2 NodeLists returned by 2 calls of document.getElementsByTagName?
Say, I have the following code
var inputs = documentElement.getElementsByTagName('input');
var selects = document.getElementsByTagName('select');
I want to loop through the results. Is it possible in one loop?
Thank you in advance!
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…