how to get element by title js

64

how to get element by title js -

var node = document.querySelector('[title="element title attribute value"]');

Comments

Submit
0 Comments