You are on page 1of 2

Introducing jQuery UI: jqueryui.

html
!
!
<!doctype html>

<html>

<head>

<title>Learning jQuery</title>

<meta charset="utf-8" />

<meta http-equiv="Content-type" content="text/html; charset=utf-8" />

<meta name="viewport" content="width=device-width, initial-scale=1" />

<script type="text/javascript" src="jquery.min.js"></script>

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/


libs/jqueryui/1.10.4/jquery-ui.min.js"></script>

<style>

#square {

height:200px;

width:200px;

background-color:grey;

</style>

</head>

<body>

<div id="square"></div>

<script>

$("#square").draggable();

</script>

</body>

</html>

You might also like