jquery set value to input text code example
Example 1: jquery set input value
$("button").click(function(){
$("input:text").val("Glenn Quagmire");
})
Example 2: javascript change input value jquery
$('#IdOfTheField').on('change', function() {
alert( this.value );
});