$(function(){
         $.ajax({
                    type: 'post',
                    url: 'aaa/bbb.do',
                    contentType: 'application/json;charset=utf-8',
                    data: '{"name": "uname", "age": 18}',
                    success: function (data) { //返回json结果
                        alert(data);
                    alert(data.name);
                    }
           });   
});

 

相关文章:

  • 2022-12-23
  • 2021-11-19
  • 2021-12-05
  • 2022-01-11
  • 2021-11-22
  • 2021-11-19
  • 2021-11-26
猜你喜欢
  • 2022-12-23
  • 2021-09-08
  • 2021-12-06
  • 2022-12-23
  • 2021-10-04
  • 2022-12-23
相关资源
相似解决方案