jquery set text to a textbox code example
Example 1: jquery add text to textbox
jquery add text to textbox
$("#id").val(whatever you want to display inside the textbox)
Example 2: jquery set textbox value
$.get('compz.php?prodid=' + x + '&qbuys=' + y, function(data) {
$('#subtotal').val(data);
});