value of an input jquery code example
Example 1: jquery value of input
$("#textInput").val() // To get value of element textInput
Example 2: get value of input jqueyr
var str = $("#myInput"). val();
Example 3: jquery set textbox value
$.get('compz.php?prodid=' + x + '&qbuys=' + y, function(data) {
$('#subtotal').val(data);
});