<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<script language="javascript" src="jquery-1.4.2.min.js"></script>
<script type="text/javascript">
function check(t){
var cur = $(t).parent().parent().parent().parent();
var pre=cur.prev('table');
var sr = $(t).parent().parent().parent().parent().prev('table').find(".conids").val();
if(pre.length !=0){
$.ajax({
type:"post",
url:"${website}/admin/ajax/cute_moveUpConRS.xhtml",
data:"&conId=" +conId+"&pid="+pid+"&upConId="+upConId,
timeout:20000,
error:function() {
alert('上移未执行成功!');
},
dataType:"json",
success:function(data) {
cur.insertBefore(pre);
}
});
}else{
alert("已经是最顶部了!");
}
}
</script>
<title>无标题文档</title>
</head>
<body>
<div>
<ul id="ul1">
<li><input type="text" name="test" /></li>
</ul>
<table id="table1">
<tr>
<td>11111111111111</td>
<td>aaaaaaaaaaaaaa<input type="hidden" name="test" value="111" class="conids"/></td>
<td><a href="#" onclick="check(this)">上移</a></td>
</tr>
</table>
<table id="table2">
<tr>
<td>22222222222222</td>
<td>bbbbbbbbbbbbbb<input type="hidden" name="test" value="222" class="conids"/></td>
<td><a href="#" onclick="check(this)">上移</a></td>
</tr>
</table>
<table id="table3">
<tr>
<td>33333333333333</td>
<td>cccccccccccccc<input type="hidden" name="test" value="333" class="conids"/></td>
<td><a href="#" onclick="check(this)">上移</a></td>
</tr>
</table>
<table id="table4">
<tr>
<td>44444444444444</td>
<td>dddddddddddddd<input type="hidden" name="test" value="444" class="conids"/></td>
<td><a href="#" onclick="check(this)">上移</a></td>
</tr>
</table>
</div>
</body>
</html>
分享到:
相关推荐
GWT Advanced Table 是一个基于 GWT 框架的网页表格组件,可实现分页数据显示、数据排序和过滤等功能! Google Tag Library 该标记库和 Google 有关。使用该标记库,利用 Google 为你的网站提供网站查询,并且可以...
部署版本: : 部署说明:如果在 heroku ...使用 table-sort jquery 库添加了表格排序 添加成本对象表 添加了基本的 CSS 1 月 13 日: 添加了创建订单的错误消息 添加更新订单 将批号添加到 kit_orders 1 月 14 日
GWT Advanced Table 是一个基于 GWT 框架的网页表格组件,可实现分页数据显示、数据排序和过滤等功能! Google Tag Library 该标记库和 Google 有关。使用该标记库,利用 Google 为你的网站提供网站查询,并且可以...
Java生成密钥、保存密钥的实例源码,通过本源码可以了解到Java如何产生单钥加密的密钥(myKey)、产生双钥的密钥对(keyPair)、如何保存公钥的字节数组、保存私钥到文件privateKey.dat、如何用Java对象序列化保存私钥...
Java生成密钥的实例 1个目标文件 摘要:Java源码,算法相关,密钥 Java生成密钥、保存密钥的实例源码,通过本源码可以了解到Java如何产生单钥加密的密钥(myKey)、产生双钥的密钥对(keyPair)、如何保存公钥的字节数组、...
GWT Advanced Table 是一个基于 GWT 框架的网页表格组件,可实现分页数据显示、数据排序和过滤等功能! Google Tag Library 该标记库和 Google 有关。使用该标记库,利用 Google 为你的网站提供网站查询,并且可以...
GWT Advanced Table 是一个基于 GWT 框架的网页表格组件,可实现分页数据显示、数据排序和过滤等功能! Google Tag Library 该标记库和 Google 有关。使用该标记库,利用 Google 为你的网站提供网站查询,并且可以...
GWT Advanced Table 是一个基于 GWT 框架的网页表格组件,可实现分页数据显示、数据排序和过滤等功能! Google Tag Library 该标记库和 Google 有关。使用该标记库,利用 Google 为你的网站提供网站查询,并且可以...
GWT Advanced Table 是一个基于 GWT 框架的网页表格组件,可实现分页数据显示、数据排序和过滤等功能! Google Tag Library 该标记库和 Google 有关。使用该标记库,利用 Google 为你的网站提供网站查询,并且可以...
GWT Advanced Table 是一个基于 GWT 框架的网页表格组件,可实现分页数据显示、数据排序和过滤等功能! Google Tag Library 该标记库和 Google 有关。使用该标记库,利用 Google 为你的网站提供网站查询,并且可以...
GWT Advanced Table 是一个基于 GWT 框架的网页表格组件,可实现分页数据显示、数据排序和过滤等功能! Google Tag Library 该标记库和 Google 有关。使用该标记库,利用 Google 为你的网站提供网站查询,并且可以...
GWT Advanced Table 是一个基于 GWT 框架的网页表格组件,可实现分页数据显示、数据排序和过滤等功能! Google Tag Library 该标记库和 Google 有关。使用该标记库,利用 Google 为你的网站提供网站查询,并且可以...
GWT Advanced Table 是一个基于 GWT 框架的网页表格组件,可实现分页数据显示、数据排序和过滤等功能! Google Tag Library 该标记库和 Google 有关。使用该标记库,利用 Google 为你的网站提供网站查询,并且可以...
GWT Advanced Table 是一个基于 GWT 框架的网页表格组件,可实现分页数据显示、数据排序和过滤等功能! Google Tag Library 该标记库和 Google 有关。使用该标记库,利用 Google 为你的网站提供网站查询,并且可以...
GWT Advanced Table 是一个基于 GWT 框架的网页表格组件,可实现分页数据显示、数据排序和过滤等功能! Google Tag Library 该标记库和 Google 有关。使用该标记库,利用 Google 为你的网站提供网站查询,并且可以...
GWT Advanced Table 是一个基于 GWT 框架的网页表格组件,可实现分页数据显示、数据排序和过滤等功能! Google Tag Library 该标记库和 Google 有关。使用该标记库,利用 Google 为你的网站提供网站查询,并且可以...
{5.2.1}将浮点数四舍五入到指定精度}{98}{subsection.5.2.1} {6}Exception}{99}{chapter.6} {6.1}\ttfamily try-catch}{99}{section.6.1} {6.2}\ttfamily finally}{100}{section.6.2} {6.3}\ttfamily throws}{...