JQuery Drag and Drop Exact Position

Hi folks, I'm trying to build a system that will permit you to drop certain icons that will be placed on the left of the screen on the main part of the site and it will remember where you dropped it. My idea is that each of the dropped icons create a record on the mySql database and that after I click it it will open a mySql update field for me to fill the data of the record. But first things first, I need it to be able to drop the icons and remember the places of each of the icons and also make sure I can take several copies of the same icon...

Any insight? I tried looking for the posted answers but nothing I found did it this way... Any help would be appreciated, code also would be much appreciated.

Cheers!
doRodrigoAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Lukasz ChmielewskiCommented:
I assume you consider using this of course
http://jqueryui.com/demos/droppable/
So you need to use the position variables and then fire ajax ?
0
 
doRodrigoAuthor Commented:
Yes, Roads_Roads, something like this definitely. But I need it to trigger an ajax when it is dropped and also need it to create a copy when I drag instead of dragging it per se, permiting to place several copies of the same object.

Cheers!
0
 
Lukasz ChmielewskiCommented:
Have you got any code already ?
0
 
doRodrigoAuthor Commented:
Nope, I needed to see if it was possible before spending too many man/hours of work to it. Any example code would be helpful. The intended site would do something like put several icons on the right and allow the user to drag a copy of the icon in the left area, and this new icon should be recorded into the database when dropped as well as his position...

Thanks in advance for the attention.

Cheers!
0
All Courses

From novice to tech pro — start learning today.