document.getElementById("input1").value "volvo" As guest271314 also pointed out, you have no event handler to trigger the check. jQuery get Button value when clicked. jQuery change HTML Table Row Color on hover.How to loop thru all input elements in a HTML form using jQuery.Tutorial Tags: jQuery , Text , Value Did you find this article helpful? Lets see how to get html input element by ID and assign value to it. var inputValue "This is valueJQueryTo get selected text use ("dropdownlistID").find(":selected").text() JQuery get Value Of TextareaHere we will see how to get value of Textarea and set value to text area using Jquery. Now the method to extract the real value from number input field doesnt close the android keyboard (when changing input type).Password Field Style Input Mask / Cloak Plugin with jQuery - Input Cloak.