document.getElementById(“next”).disabled = “disabled”;
document.getElementById(“last”).disabled = “disabled”;
$(“#next”).attr(“class”,”default_pgNextDisabled default_pgBtn”);
$(“#last”).attr(“class”,”default_pgLastDisabled default_pgBtn”);
}
}
</script>
html页面代码如下:
<body>
<div>
<div>
<br />
<table id=”datas” align=”center” class=”listtable” width=”100%” bgcolor=”#CCCCCC” cellSpacing=”1″ cellpadding=”1″ style=”margin-top:5px;”>
<tr class=”fixheader”>
<th width=”14%”>
用户ID</th>
<th width=”14%”>
用户名称</th>
<th width=”14%”>
所在科室</th>
<th width=”14%”>
创建时间</th>
<th width=”14%”>
创建人</th>
<th width=”14%”>
菜单集名称</th>
<th width=”14%”>
是否有效</th>
</tr>
<tr id=”template” height=”22px” bgcolor=”#F9FDFF” onmouseover=”javascript:this.style.backgroundColor=’#FFFFCC’; return true;” onMouseOut=”javascript:this.style.backgroundColor=’#F9FDFF’; return true;”>
<td id=”userId” class=”tdc”>
</td>
<td id=”userName” class=”tdc”>
</td>
<td id=”depId” class=”tdc”>
</td>
<td id=”createTime” class=”tdc”>
</td>
<td id=”creator” class=”tdc”>
</td>
<td id=”menusId” class=”tdc”>
</td>
<td id=”isValid” class=”tdc”>
</td>
</tr>
</table>
</div>
<div id=”load” style=”left: 0px; position: absolute; top: 0px; background-color: red”>
LOADING….
</div>
<div class=”default_pgContainer” >
<div class=”default_container”>
<div class=”default_pgPanel” id=”skinDiv”>
<table class=”default_pgToolbar”>
<tr>
<td class=”black_pgCurrentPage”>
<select id=”pageSize” name=”pageSize”>
<option selected=”selected” value=”10″>10</option>
<option value=”20″>20</option>
<option value=”30″>30</option>
</select>
</td>
<td>
<div id=”first” class=”default_pgFirst default_pgBtn” />










