Remotive
05-20-2008, 06:42 PM
Just wondering this, but say I had a image in scriptaculous and I dragged it around etc. If I pressed save, meaning it would grab the information for the x and y co-ordinates using "document.getElementById('DIVNAME').style.left;" and "document.getElementById('DIVNAME').style.top;" and sent the information to a database, would the getElementById work?
As in, every time I moved the image would it update the style.top and style.left of the image and send it to the database?
If you don't understand I may be able to explain it more, hopefully. :P
As in, every time I moved the image would it update the style.top and style.left of the image and send it to the database?
If you don't understand I may be able to explain it more, hopefully. :P