07 July 2017 10:00
jQUERY -JqueryUI - DRAG - JqueryUI Draggable
(via)$ (selector, context).draggable (options) Method
The draggable (options) method declares that an HTML element can be moved in the HTML page. The options parameter is an object that specifies the behavior of the elements involved.
Syntax
$(selector, context).draggable(options);
You can provide one or more options at a time using Javascript object. If there are more than one options to be provided then you will separate them using a comma as follows −
$(selector, context).draggable({option1: value1, option2: value2..... });
1
(1 marks)