selector jquery attribute html code example Example: find input by value attribute javascript document.querySelectorAll("input[value=something]");