예를 들어 id="textcontent1" id="textcontent2" id="textcontent3" 이렇게 6개가 있으면

var Textcontent1=document.getElementById('textcontent1');

이걸 6개 다 선언해서

var Alltextcontent=[Textcontent1,Textcontent2,...,Textcontent6] 요렇게 해서 객체로 한번에 모아서

자료 활용할 수 있잖아

마찬가지로 id를 비슷한 네이밍으로 객체를 한번에 받는방법은 없음?