change value input code example
Example 1: jquery change value of input
$('selector').val('new value');
Example 2: javascript input value change
function updateInput(ish){
document.getElementById("fieldname").value = ish;
}
$('selector').val('new value');
function updateInput(ish){
document.getElementById("fieldname").value = ish;
}