Answers for "queryselector for jquery"

19

queryselector

var el = document.querySelector(".myclass");
Posted by: Guest on May-08-2020
0

queryselector for jquery

var x = $(".yourclass")[0];
console.log('jq' + x);
var y = document.querySelector(".yourclass");
console.log('js' + y);
Posted by: Guest on April-22-2020
0

js queryselector

const para = document.querySelectorAll('p');
Posted by: Guest on July-19-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language