jquery input text value set code example
Example 1: jquery set input value
$("button").click(function(){
$("input:text").val("Glenn Quagmire");
})
Example 2: jquery set textbox value
$.get('compz.php?prodid=' + x + '&qbuys=' + y, function(data) {
$('#subtotal').val(data);
});