how to get element by title js

61

how to get element by title js -

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

Comments

Submit
0 Comments