Create draggable Div - jQuery
by Subramanian[ Edit ] 2013-04-05 18:14:06
<font size=3>Create draggable Div - jQuery</font>
1. First insert jquery file in header field.
<script src="http://code.jquery.com/jquery-1.9.1.js"></script>
2. create a div which is used to drag.
<div id="draggable"></div>
3. Now, write the draggable function in script tag.
$(function() {
$( "#draggable" ).draggable();
});
4. Now div is draggable anywhere.