954,597 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Creating a source/target in Dojo

Hello.

I've got a page with a that is a dojo.dnd.source and another that is a dojo.dnd.target. I am able to drag objects from the source to the target successfully, but I would like to be able to drag them back again as well.

Any advice on this?

app_1.png
app_2.png

Tom Tolleson
Light Poster
39 posts since Oct 2007
Reputation Points: 10
Solved Threads: 0
 

Make them both dojo.dnd.Source objects, and give them both the attribute accept="red,blue".

jamespw
Newbie Poster
1 post since Dec 2008
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You