开源中国 2018 年度最后一场技术盛会邀你来约~错过就要等明年啦!点此立即预约

立志尚早 / jLSortJavaScriptMIT

Watch 1 Star 0 Fork 0
加入码云
与超过 300 万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
index.html 2.58 KB
一键复制 编辑 Web IDE 原始数据 按行查看 历史
jiangli 提交于 2018-03-16 18:10 . 初始化
<!doctype html>
<html class="no-js" lang="">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title></title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="manifest" href="site.webmanifest">
<link rel="apple-touch-icon" href="icon.png">
<!-- Place favicon.ico in the root directory -->
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/main.css">
<link rel="stylesheet" href="css/jquery.plugin.jl.sort.css">
<link rel="stylesheet" href="css/jquery-ui.min.css">
</head>
<body>
<!--[if lte IE 9]>
<p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="https://browsehappy.com/">upgrade
your browser</a> to improve your experience and security.</p>
<![endif]-->
<!-- Add your site or application content here -->
<p>Hello world! This is HTML5 Boilerplate.</p>
<div id="sort"></div>
<script src="js/vendor/modernizr-3.5.0.min.js"></script>
<script src="https://code.jquery.com/jquery-3.2.1.min.js"
integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=" crossorigin="anonymous"></script>
<script>window.jQuery || document.write('<script src="js/vendor/jquery-3.2.1.min.js"><\/script>')</script>
<!--<script src="js/jquery-2.1.4.min.js"></script>-->
<script src="js/jquery-ui.min.js"></script>
<script src="js/plugins.js"></script>
<script src="js/main.js"></script>
<!-- Google Analytics: change UA-XXXXX-Y to be your site's ID. -->
<script>
window.ga = function () {
ga.q.push(arguments)
};
ga.q = [];
ga.l = +new Date;
ga('create', 'UA-XXXXX-Y', 'auto');
ga('send', 'pageview')
</script>
<script src="https://www.google-analytics.com/analytics.js" async defer></script>
<script src="js/jquery.plugin.jl.sort.js"></script>
<script type="text/javascript">
$(function () {
$('#sort').jLSort({
url: 'http://xxxx/getdata',
submitUrl: 'http://xxxx/submitdata',
width: 200,
valueField: 'value',
textField: 'text',
model: 'drag',
data: [
{
value: '01',
text: '上海'
}, {
value: '02',
text: '北京'
}, {
value: '03',
text: '武汉'
}, {
value: 'zz',
text: '广州'
}
]
});
});
</script>
</body>
</html>

评论 ( 0 )

你可以在登录后,发表评论

搜索帮助