$.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";
}
})
}
ajax