$.ajax $.post

$.post
$.post("rights_getRolesByUserId.do",

    {

       userId : strids

    },

       function(data){}

$.ajax
$.ajax({

       url: '../xzgt/lcsprw_add.do',

       type: 'post',

       dataType: 'json',

       data: {data1:data1},

       success: function(data){

});

var result=$.Ajax({url:url,async:false,cache:false}).responseText;

提交到自定义页面处理请求
var c = AjaxRequestToServer('../pages/123.jsp',false,"POST",vscmd)

你可能感兴趣的:($.ajax $.post)