jquery set value of text box from select code example
Example 1: jquery set textbox value
$.get('compz.php?prodid=' + x + '&qbuys=' + y, function(data) {
$('#subtotal').val(data);
});
Example 2: jquery set select value
$("div.id_100 select").val("val2");