i am using Jquery Drag and Drop
i have 3 divs
i want that gallery DIV should accept li from other two divs
i am using
$gallery.droppable({ accept: '#DIV1 li',
i cannot figureout how to put two DIV1 LI and DIV2 li in accept:
Thanks
i am using Jquery Drag and Drop
i have 3 divs
i want that gallery DIV should accept li from other two divs
i am using
$gallery.droppable({ accept: '#DIV1 li',
i cannot figureout how to put two DIV1 LI and DIV2 li in accept:
Thanks
The accept option takes a selector so just use a comma-separated list.
$gallery.droppable( { accept: '#DIV1 li, #DIV2 li', ...