<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<link href="https://code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="https://code.jquery.com/jquery-1.12.4.min.js" ></script>
<script type="text/javascript" src="https://code.jquery.com/ui/1.12.1/jquery-ui.js" ></script>
</head>
<script type="text/javascript">
$(document).ready(function() {
$(".table").sortable();
});
</script>
<body>
<ul class="table">
<li>테이블 1</li>
<li>테이블 2</li>
<li>테이블 3</li>
<li>테이블 4</li>
<li>테이블 5</li>
</ul>
</body>
</html>
'IT > 기타' 카테고리의 다른 글
javascript 변수명 변수 동적 변수명 (0) | 2020.03.08 |
---|---|
소스예제 모음 (ASP, C, CSS, HTML, JAVA, JSP, JAVASCRIPT, PERL, PHP, OPEN API, LINUX, MOBILE, FLASH,FREE,UTILTY) (0) | 2018.07.01 |
if문 (0) | 2018.07.01 |