edyonline
asked on
jquery droppable with click
http://jqueryui.com/demos/droppable/#photo-manager
I'm new in jquery and hoping that someone could help me solving my problem. The link above is the closest to what I wanted.
I want to implement shopping cart but instead of clicking 'trash' icon, I want to be able to click on the image it self and move the image to the shopping cart without any fadein/out effect like the demo on the link above
at the end i want to see a button that will alert the array of the <li> id from the item i selected.
Any help would be appreciated
I'm new in jquery and hoping that someone could help me solving my problem. The link above is the closest to what I wanted.
I want to implement shopping cart but instead of clicking 'trash' icon, I want to be able to click on the image it self and move the image to the shopping cart without any fadein/out effect like the demo on the link above
at the end i want to see a button that will alert the array of the <li> id from the item i selected.
Any help would be appreciated
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
What you would essentially have to do is, after adding the new item to the list, add a click handler to it that does the reverse - move it back to the other list. If you can provide some code samples I can probably show you exactly how to do it.
ASKER