JQuery UI: Difference between revisions

Content deleted Content added
Update release history, adding 1.12.0-beta.1
Example: improved code examples
Line 74:
== Example ==
<source lang="javascript">
// Make the element with id "draggable" draggable
<script type="text/javascript">
$(function () {
// Make the element with id "draggable" draggable
$("#draggable").draggable();
$(function () {
});
$("#draggable").draggable();
});
</script>
</source>
 
<source lang="html4stricthtml5">
<div id="draggable">
<p>Drag me around</p>
</div>
 
</source>
 
This makes the div with the ID "draggable" draggable by the user's mouse.