In my php I had 4 buttons, up, down, top and bottom:
After detecting which element and which button was clicked I changed the
element position by
using array_slice, shift, unshift, array_merge etc..
I'm not sure what I'll do it JS
> On Saturday 27 April 2002 00:56, Pushkar Pradhan wrote:
> > I need to pass an array from php to javascript,
> > change the ordering of the elements in javasc..
> > pass this reordered array back to php script?
> > Is it possible to do this and if so can anyone send me the basic code,
> > I've never written javascript? Thanks,
>
> How is the array reordered?
>
> --
> Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
> Open Source Software Systems Integrators
> * Web Design & Hosting * Internet & Intranet Applications Development *
>
> /*
> Maturity is only a short break in adolescence.
>               -- Jules Feiffer
> */
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>

-Pushkar S. Pradhan


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to