jquery表格排序(6)
来源:未知 责任编辑:责任编辑 发表时间:2015-09-16 20:03 点击:次
if("${v_order_type}"=="DESC"){
ordertype="ASC";
}else{
ordertype="DESC";
}
$("#datapatchForm").attr("action","<%=path%>/datapatch/initDatapatchInf.do?ordertype="+ordertype+"&order_field=U_SUBMIT_DATE");
$("#datapatchForm").submit();
});
$("thead > tr >th").eq(7).click(function(){
var ordertype="DESC";
if("${v_order_type}"=="DESC"){
ordertype="ASC";
}else{
ordertype="DESC";
}
$("#datapatchForm").attr("action","<%=path%>/datapatch/initDatapatchInf.do?ordertype="+ordertype+"&order_field=SA_RECE_DATE");
$("#datapatchForm").submit();
});
});
</script>
<style type="text/css">
table.tablesorter thead tr th {
background-image: url(<%=path%>/images/bg.gif);
background-repeat: no-repeat;
background-position: center right;
background-color:#CAE8EA;
cursor: pointer;
}
</style>
</head>
<body>
<%
List list = (List)request.getAttribute("datapatchInfList");
String v_current_page = request.getAttribute("v_current_page")==null?"1":(String) request.getAttribute("v_current_page");
int i_current_page = Integer.parseInt(v_current_page);
相关新闻>>
最新推荐更多>>>
- 发表评论
-
- 最新评论 更多>>