日期:2014-05-17 浏览次数:20489 次
<script type="text/javascript">
$(document).ready(function () {
$.post("post.ashx", {}, function (data) {
if (data <8) {
$td = $("#demo1").find("table");
$td.css("margin-right", "16px");
}
});
})
</script>
<div id="demo1" runat="server" style=" padding:0px">
<asp:Repeater runat="server" ID="gv">
<HeaderTemplate>
<table cellspacing="0" rules="all" border="1" width="80%" >
</HeaderTemplate>
<ItemTemplate>
<tr align="center" >
<td width="10%" style=" color:#CCCCCC" >
<%#Container.ItemIndex+1%>
</td>
<td align="center" width="20%" style=" color:#CCCCCC">
<%#Eval("Price")%>
</td>
<td width="20%" style=" color:#CCCCCC">
<%#Eval("SubmitNum")%>
&nb