$.ajax({
                'url': url,
                'data':{'json': JSON.stringify(parm)},
                'dataType': 'json',
                'type' : 'post',
                'success':function(data){
                    if (data.session !== undefined) {
                        $('input[name=sid]').val(data.session.sid);
                        $('input[name=uid]').val(data.session.uid);
                    } 
                    $("#request").html(JsonUti.convertToString(data));
                },
                'beforeSend' : function(){
                    $("#request").html('加载数据中...');
                },
                'error' : function(i, data){
                    $("#request").html(i.responseText);
                }
            });

 

相关文章:

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