Re: passing vars. betn. php and javascript
| From: | Jason Wong | Date: | Fri, 26 Apr 2002 17:46:28 +0000 |
| Subject: | Re: passing vars. betn. php and javascript | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-94764@lists.php.net to get a copy of this message | ||
On Saturday 27 April 2002 01:23, Pushkar Pradhan wrote:
> 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
Well, depending on how you were reordering the array I was going to suggest
you use php. Since you already have a version in php and you want to do it in
javascript then ...
> > > I've never written javascript? Thanks,
I suggest you learn some javascript then think about how to "pass an array"
to it from php :)
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
The profession of book writing makes horse racing seem like a solid,
stable business.
-- John Steinbeck
[Horse racing *is* a stable business ...]
*/