MyException - 我的异常网
当前位置:我的异常网» Java Web开发 » JQuery无刷新分页,该如何处理

JQuery无刷新分页,该如何处理(4)

www.MyException.Cn  网友分享于:2013-01-14  浏览:335次

}
else
{ $(".ordertip").empty();
$orderimg.html("&nbsp;<img src=\"images/sort_asc.gif\" align=\"absmiddle\">");

ordertype = 0;
}
}
else
{
$(".ordertip").empty();
$orderimg.html("&nbsp;<img src=\"images/sort_desc.gif\" align=\"absmiddle\">");
ordertype = 1;
}

orderby = ordercolumn+"_"+ordertype;

InitData(0);



</script>



<style type="text/css">
table{ width:600px; background-color:#ffffff}
table th{ height:24px; background-color:#037E12; color:White;}
.odd{ background-color:#5FD66C}
.enen{ background-color:#BCF5C4}
.mouseover{ background-color:orange;}

</style>
</head>
<body>
<form id="form1" runat="server">
<div id="divload" style="top:50%; right:50%;position:absolute; padding:0px; margin:0px; z-index:999">
<img src="images/spinner3-greenie.gif" /></div>
<div>

<table cellpadding=5 cellspacing=1 width=620 id="productTable" align=center>
<tr>
<th style="width:100px"><a style="cursor:pointer;" onclick="Sort('orderid','productid');return false;">orderid</a><span id="productid" class="ordertip"></span></th>
<th style="width:200px"><a style="cursor:pointer;" onclick="Sort('customerid','ProductName');return false;">customerid</a><span id="ProductName" class="ordertip"></span></th>
<th style="width:200px"><a style="cursor:pointer;" onclick="Sort('shipname','UnitPrice');return false;">shipname</a><span id="UnitPrice" class="ordertip"></span></th>
<th style="width:120px"><a style="cursor:pointer;" onclick="Sort('shipcity','Discontinued');return false;">shipcity</a><span id="Discontinued" class="ordertip"></span></th>
</tr>
</table>

</div>
<div id="Pagination" class="digg" ></div>
<div style=" text-align:center;">分页样式:
<select id="pageTheme">
<option value="digg">digg</option>
<option value="meneame">meneame</option>
<option value="flickr">flickr</option>
<option value="sabrosus">sabrosus</option>
<option value="scott">scott</option>
<option value="black">black</option>
<option value="black2">black2</option>
<option value="black-red">black-red</option>
<option value="grayr">grayr</option>
<option value="yellow">yellow</option>
<option value="jogger">jogger</option>
<option value="starcraft2">starcraft2</option>
<option value="tres">tres</option>
<option value="megas512">megas512</option>
<option value="technorati">technorati</option>

文章评论

软件开发程序错误异常ExceptionCopyright © 2009-2015 MyException 版权所有