Solved

Jquery-ajax based Drag Drop

Posted on 2010-11-24
5
599 Views
Last Modified: 2012-05-10
In PHP We are listing out users according to there status (Passed, Failed, Appeared and Not Appeared) in status columns and columns heading as status.

We need an Jquery/Mootools based drag drop functionality, wherein visitor can drag the user by its username and just drop it to another column (status). It should have an Ajax call and update the user status.

Please see the attachment in that you can see Andy is dragged and dropped in to Not Appeared section. so on dropping the database(Mysql) should be updated to Andy status as Not Appeared.

Kindly suggest any plugin/option for the same.  
Drag-Drop.JPG
0
Comment
Question by:V2Solutions
  • 3
  • 2
5 Comments
 
LVL 42

Expert Comment

by:Rob Jurd, EE MVE
ID: 34210367
I've used the tool man library to achieve this.  It's not jquery or mootools so you would need to check compatibility

demo: http://neb.net/playground/dragdrop/

http://blog.tool-man.org/2005/04/15/drag-between-lists/
http://tool-man.org/examples/sorting.html
0
 
LVL 42

Expert Comment

by:Rob Jurd, EE MVE
ID: 34210369
First step would be to have an update button that the user can click, which i understand isn't ideal.  An event driven solution would be best though i'm not 100% sure of the event you would need to capture to do this and maybe having the button makes the user double check before updating?
0
 
LVL 42

Accepted Solution

by:
Rob Jurd, EE MVE earned 500 total points
ID: 34210373
Done some more investigation and found this one, that uses jquery

http://thechriswalker.net/select-drag/
0
 

Author Comment

by:V2Solutions
ID: 34211207
thanks for the options guys.

Please let me have a look and see if this is feasible for my requirement. Much appreciated.

0
 

Author Closing Comment

by:V2Solutions
ID: 34442160
thanks for the solution
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The Confluence of Individual Knowledge and the Collective Intelligence At this writing (summer 2013) the term API (http://dictionary.reference.com/browse/API?s=t) has made its way into the popular lexicon of the English language.  A few years ago, …
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
Learn the basics of strings in Python: declaration, operations, indices, and slicing. Strings are declared with quotations; for example: s = "string": Strings are immutable.: Strings may be concatenated or multiplied using the addition and multiplic…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question