jQuery UI Library Simple Example


Example

Enable draggable functionality on any DOM element.

<script>
  $(function() {
    $( "#draggable" ).draggable();
  });
</script>
<div id="draggable" class="ui-widget-content">
  <p>Drag me around</p>
</div>