日期:2014-05-16 浏览次数:20607 次
??? ??? ??? function onClick() {
??? ??? ??? ??? $.ajax({
??? ??? ??? ??? ??? type: "post",
??? ??? ??? ??? ??? url : "${pageContext.request.contextPath}/s/m/train/list/",
??? ??? ??? ??? ??? data: {},
??? ??? ??? ??? ??? success: function(json){
??? ??? ??? ??? ??? ??? $("#msgdiv").hide();
??? ??? ??? ??? ??? ??? $("#videolistdiv").html(json);
??? ??? ??? ??? ??? ??? $("#videolistdiv").show();
??? ??? ??? ??? ??? },
??? ??? ??? ??? ??? error:function(json){
??? ??? ??? ??? ??? ??? alert("系统错误");
??? ??? ??? ??? ??? }
??? ??? ??? ??? });
??? ??? }
页面有一<div? id="videolistdiv" style="display: none;"></div>就行