JQuery Alterar valor da entrada
$('selector').val('new value');
ALLIGAT0R_BL00D
$('selector').val('new value');
$("#textInput").val() // To get value of element textInput
$("button").click(function(){
$("input:text").val("Glenn Quagmire");
})
$('#IdOfTheField').on('change', function() {
alert( this.value );
});
//one of these 2 should suffice
$('#id').attr('value', 'xxx')
$('#id').val('xxx');