Posted by J.O. Aho on 12/16/06 08:57
ameshkin wrote:
> Hi,
> I'm working on a drag and drop feature with the scriptaculous
> javascript library. And I was wondering if someone could help me! :(
>
> Here is some test code. Basically, when someone takes something from
> the left side and puts it in the right side, I just want to run a
> database query.
javascript = client side
php = server side
You need to transfer the happening from the client to the server, as long as
you don't send the data to the server and get a result back, nothing will happen.
Make the whole into a form and submit the form when the change occurs.
--
//Aho
[Back to original message]
|