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