Answers for "javascript queryselectorall input"

1

js querySelectorAll

// https://www.google.com/
// this puts a border around the 'a' tags of 'Google offered in' section.

// within this id find all the 'a' tags
var languages = document.querySelectorAll("#SIvCob a");


// loop through all the a tags a add a border to the tags
for(var i = 0; i < languages.length; i++){
    document.querySelectorAll("#SIvCob a")[i].style.border = "1px solid black";

}
Posted by: Guest on May-22-2021
0

js queryselectorall

var matches = document.querySelectorAll("div.note, div.alert");
Posted by: Guest on January-12-2021

Code answers related to "javascript queryselectorall input"

Code answers related to "Javascript"

Browse Popular Code Answers by Language