日期:2014-05-16  浏览次数:20371 次

一个js展示数据的包突然不能翻页了,如果翻页div就会消失,求助……
js展示数据的这个功能前几天突然出了问题,表现点击下一页或者上一页等会翻页,但是翻页之后展示数据的显示会全部消失。但是如果是填写页数则不会有问题,查了一段时间感觉很纠结

部分页面代码(红色代码喂展示代码填充的位置)
HTML code

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
   xmlns:ui="http://java.sun.com/jsf/facelets"
   xmlns:h="http://java.sun.com/jsf/html"
   xmlns:f="http://java.sun.com/jsf/core" xml:lang="en" lang="en">
<f:view locale="#{usersBean.locale}">
<head>
<title>unime--发传真</title>
<meta http-equiv="keywords" content="enter,your,keywords,here" />
<meta http-equiv="description" content="A short description of this page." />
<link rel="stylesheet" type="text/css" href="../Ext/resources/css/ext-all.css" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" type="text/css" href="../styles/dataTable.css" />
<link rel="stylesheet" type="text/css" href="../styles/Base.css" />
<link rel="stylesheet" type="text/css" href="../styles/Generic.css" />
<script type="text/javascript" src="../scripts/jquery.js"></script>                
<script type="text/javascript">var $j = jQuery.noConflict();var action = "#{param.action}";
   var type= "#{param.type}";var forwardGid= "#{param.gid}";</script>
<script type="text/javascript" src="../dwr/engine.js"></script>
<script type="text/javascript" src="../dwr/util.js"></script>
<!-- 此处是dwr的yinyong -->
<script type="text/javascript" src="../scripts/ExtendFun.js"></script>
<script type="text/javascript" src="../scripts/WebApp.GroupsPager.js"></script>
<script type="text/javascript" src="../scripts/fax/WriteFax.js"></script>
<script type="text/javascript" src="../scripts/showPanel.js"></script>

</head>
<body >
<f:loadBundle basename="com.webapp.resource.WebAppResource"var="resource" />
<h:form id="fromUpload" enctype="multipart/form-data"onsubmit="startProgress()">
<table  cellspacing="1" cellpadding="0" width="85%" align="left" border="0"><!-- style="line-height: 0px;" -->
<tr bgcolor="">
<td height="60px" valign="middle" bgcolor="" id="100%">
[color=#FF0000]<div id="dvLinkManContent" style="display: none;padding-left:10px;">
<div style="overflow:auto;height: 18px;float:left;padding-left:10px;padding-top:2px;width: 73%;">
<a href="javascript:deleteCurrMan();">删除选中</a>        
<a href="javascript:deleteAllCurrMan();">全部删除</a>
</div>[/color]
<table id="currLinkMan" width="73%" border="0" cellpadding="0"  cellspacing="0" style="" 
<tbody id="Listbody">
</tbody>
</table>
<div class="x-toolbar x-small-editor" id="dvPager" style="width: 73%;overflow:auto; "/>
</div>
</td>
</tr>
</table>
</h:form>
</body>
</f:view>
<