Professional Documents
Culture Documents
html
!
!
<!doctype html>
<html>
<head>
<title>Learning jQuery</title>
<style>
#square {
height:200px;
width:200px;
background-color:grey;
#target {
height:300px;
width:300px;
background-color:yellow;
</style>
</head>
<body>
<ul>
<li>Pizza</li>
<li>Cheese</li>
<li>Tomatoes</li>
<li>Chocolate</li>
</ul>
<script>
$("ul").sortable();
</script>
</body>
</html>