Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

NodeList Example

<script>
function x(){
			  let qq = document.querySelectorAll(".q");
			  console.log(qq);
             }
             </script>
  <body>

<button id="btn" onclick="add()">Press </button>

<div class="q" id="a">aaaa</div>
	<div class="q" id="b">bbbb</div> 
  </body>
             
 
PREVIOUS NEXT
Tagged: #NodeList #Example
ADD COMMENT
Topic
Name
4+8 =