Drag and drop to target and then save (AJAX /PHP )

Discussion in 'JavaScript' started by freestate, Oct 30, 2009.

  1. #1
    Hey,

    I'm looking for an AJAX, preferably Mootools based, script that will enable elements from a list to be dragged on to one of several target divs. This in turn will then trigger a PHP database update by AJAX.

    I've found a ton of scripts that allow for lists to be sorted with a DB update, but I need to be able to drag out of the list and drop into a 'box'.

    To give some background, this is for a wedding planner, where there will be a list of confirmed guests on one side of the page, and divs representing a number tables on the other - I need to be able to assign guests to tables using drag and drop.

    Anybody out there know of a script that will allow me to do this?

    Thanks in advance :D
     
    freestate, Oct 30, 2009 IP
  2. AsHinE

    AsHinE Well-Known Member

    Messages:
    240
    Likes Received:
    8
    Best Answers:
    1
    Trophy Points:
    138
    #2
    AsHinE, Oct 30, 2009 IP
  3. freestate

    freestate Well-Known Member

    Messages:
    975
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    160
    #3
    That photo manager link is definitely the kind of thing I am looking for - the problem is that this is to be incorporated into a page that uses mootools for other functionality already, and whenever I've tried using jquery and mootools together they haven't played nicely!

    Thanks for the suggestion though - definitely getting closer!

    Anybody else have any ideas?
     
    freestate, Oct 30, 2009 IP
  4. dimitar christoff

    dimitar christoff Active Member

    Messages:
    882
    Likes Received:
    62
    Best Answers:
    0
    Trophy Points:
    90
    #4
    dimitar christoff, Oct 30, 2009 IP
    freestate likes this.
  5. freestate

    freestate Well-Known Member

    Messages:
    975
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    160
    #5
    Thanks for pointing me in that direction - I'll check it out!

    Rep added!
     
    freestate, Nov 1, 2009 IP