随笔分类 - ajax
摘要:$('#mkcode').on('click',function(){ $.ajax({ type : 'POST', url : '__URL__/mkcode', data : {}, dataType: 'json', //~~这里是dataTye 写成datatye 或没写json会接受不到
阅读全文
摘要://设置为默认收货地址 $(document).on('tap','.right_none',function(){ var _this = (this); //只有这样定义,在ajax的内部才可以调用this var id = (this).data('id'); api.set_default({ uid : _u...
阅读全文