Re: passing vars. betn. php and javascript

From: Date: Fri, 26 Apr 2002 17:23:37 +0000
Subject: Re: passing vars. betn. php and javascript
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-94761@lists.php.net to get a copy of this message
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

« previous php.general (#94761) next »