Hi Kiranvj,
The link above couldn't save the position in MySQL. Any sample the drag and drop and save position in the MySQL?
Main Topics
Browse All TopicsHi All,
Im using the Java script below to drag and drop images. The thing is i needed a script to drag and drop things into a map and save the postion in MySQL. Any example?
EG: I need to arrange furnitures in a room. so i can drag and drop chairs or tables in the room then save the position in MySQL.
Thanks
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Firing an AJAXRequest in the onDrop handler. A url of something like ...
http://www.site.com/record
with the params being the id of the map element being dropped and the x and y coords should be enough.
Ha ha. No. It was just an example.
Using an Ajax.Request (http://www.prototypejs.or
new Ajax.Request('/recordDrop.
method: 'post',
params: {x:x, y:y, objID:????}
});
sort of thing.
You need to coordinate the objID yourself. If you have a list of movable elements and they are known to the DB, then that ID needs to come back in with the request.
The PHP script will process $_POST['x'], $_POST['y'] and $_POST['objID'] to update the DB.
Business Accounts
Answer for Membership
by: kiranvjPosted on 2009-08-21 at 02:08:37ID: 25150068
Use scriptaculous for drag and drop com/script .aculo.us/ scriptacul ous_drag_d rop.htm com/cgi-bi n/practice .cgi? file= scriptacul ous_12
robby/scri ptaculous/ draggable
http://www.tutorialspoint.
http://www.tutorialspoint.
http://wiki.github.com/mad