ajax写法

                        $.ajax({  
                    type:'post',      
                    url:'<%=path%>/login',  
                    cache:false,  
                    dataType:'json',  
                     success:function(data){
                         
                         
                    },
                    error:function(){
                        alert("系统错误");
                    }
                });                      
原文地址:https://www.cnblogs.com/guokai870510826/p/5948256.html