jquery post
function ajax_post(){ $.post(
"action.php",
{email:$('#email').val(),address:$('#address').val()}, function(data){ //$('#msg').html("please enter the email!"); //alert(data); $('#msg').html(data); }, "text");//这里返回的类型有:json,html,xml,text }