Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Adding A Function To All Node Example With Javascript

 Node.prototype.display=function()
			  {
				  console.log(this.textContent);
			  } 
			  let qq = document.querySelectorAll(".q");
			  qq[0].display();
		  }

 
PREVIOUS NEXT
Tagged: #Adding #A #Function #To #All #Node #Example #With #Javascript
ADD COMMENT
Topic
Name
6+7 =