2011-06-05 69 views

回答

3
$.ajax({ 
'type' : 'POST', 
'url' : '/my_great_ashx_file.ashx', 
'data' : { 
    'first_field' : 'foo', 
    'second_field' : 'bar', 
    'third_field' : 'buz' 
}, 
'success' : function() { 
    alert('This was a triumph.'); 
} 
})