views:

42

answers:

1

Here's what I want to achieve.

I want to be able to have a list of words, which I can drag over an input field and drop into the value. I want to be able to do this multiple times possibly with the same word, to go in more that one input field.

Basically I'm sorting words into groups.

If anyone could point me at a JQuery library that can do this sort of thing, that would be great.

Cheers, Thomas.

+1  A: 

Have a look at jQuery UI's draggable and droppable functions:

http://jqueryui.com/demos/draggable/ and http://jqueryui.com/demos/droppable/

Yi Jiang
That looks like what I need, thanks.
diggersworld
The droppable function seems to stop working when I select the html object by class and not ID.
diggersworld
@diggers It should work. Check over your codes carefully. If you still can't solve it you can always post a question here.
Yi Jiang