Shorthand AJAX examples


$.get("test.php", function(data){
  $('#myFormField').val(data);
});



$.load('myScript.php', function(data) {
    //fill a hidden textbox with your script output and reveal it
    $('#textBox').val(data).show();
)};