jquery input valiue code example
Example 1: jquery value of input
$("#textInput").val() // To get value of element textInput
Example 2: jquery set input value
$("button").click(function(){
$("input:text").val("Glenn Quagmire");
})
$("#textInput").val() // To get value of element textInput
$("button").click(function(){
$("input:text").val("Glenn Quagmire");
})