Home » Javascript » How can I get the same id (slides) as array through javascript without using **jquery**, **querySelectorAll()** Method or **querySelector()** Method?

How can I get the same id (slides) as array through javascript without using **jquery**, **querySelectorAll()** Method or **querySelector()** Method?

Posted by: admin August 19, 2018 Leave a comment

Questions:
<h1 id="slides">Her Name</h1>
<h1 id="slides">Was</h1>
<h1 id="text">All is OK</h1>
<h1 id="slides">Mamedul</h1>
<h1 id="photos"><img src="rrr.jpg"/></h1>
<h1 id="text">, but I am</h1>
Answers: