input type text value jquery code example
Example 1: get value of input jqueyr
var str = $("#myInput"). val();
Example 2: jquery set input value
$("button").click(function(){
$("input:text").val("Glenn Quagmire");
})
var str = $("#myInput"). val();
$("button").click(function(){
$("input:text").val("Glenn Quagmire");
})