开发者

jquery sortable list with different styles div's

I am requiring the functionality of jquery sortable connect lists as per; Jquery Sortable

the current functinality drags an image (say AAA) contained in a div from the first list (1) into the second(2),

I would like to know how i can make it so when I drag a AAA from list 1 to 2 ,instead of inserting it into the list 2 it would alternatively insert a different div (say BBB) which has different contents from AAA. Thank you for any help in advance.

EDIT: Id like it also to clone from List 1 to 2 so that AAA persisits in list one and BBB is inserted into 2.

EDIT / ANSWER: Searching this site I found the answer in case anybody wa开发者_如何学Gonts to know, here it is:

jquery-draggable-connect-to-sortable-draggable-item-has-a-different-dom-from-so

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜