jquery get set value of text field 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);
});