$.ajax({ //课程详情信息
type:'get',
data: {'id':courseId},
dataType:'json',
beforeSend : function(){
//正在加载...
},
url : '/ecourse/service/coursedetailservice/findCourseById?t='+new Date().getTime(),
success : function(data) {
}
complete : function(){
//加载完毕...
}
},
error : function( ) {
window.location.href="error.jsp";
}
})
}
转载于:https://www.cnblogs.com/wanghuoya/p/7110712.html