Search code examples
javascriptjquerydraggable

Create draggables by dragging mouse


I am new to JQuery library. I am currently trying to create a Draggable by mouse. Say, when I press the mouse it start to draw and then I drag the mouse to change the size and then I release the mouse to finalize the drawing.

Is it possible to do this with JQuery?


Solution

  • It is difficult to understand exactly what you are asking.

    If your are interested in drag and drop, look here:

    http://jqueryui.com/demos/draggable/#visual-feedback

    This is jQuery UI, which is a library for jQuery, that provides many interesting UI widgets (see more here: http://jqueryui.com/demos/)