Re: [PHP] Re: How to re-order an array

2006-06-13 Thread tedd
At 11:26 PM -0700 6/12/06, Paul Novitski wrote: >Aside, the whole client-side/server-side debate depends on today's internet >connection response time being as slow as it is. In a few years a seemingly >sexy technology like Ajax, which appears useful today in pages so heavy with >content that w

Re: [PHP] Re: How to re-order an array

2006-06-12 Thread Paul Novitski
At 07:53 PM 6/11/2006, jekillen wrote: I force the user to have javascript enabled Oops. Unless you're working IT in a penal colony, I suspect that what you really mean is that you choose to serve broken pages or no content at all to users who don't have JavaScript enabled, whether by choice

Re: [PHP] Re: How to re-order an array

2006-06-12 Thread Rafael
jekillen wrote: [···] Well, I asked you for the actual (JS) code you're using (the one that didn't work in all the intended browsers), that way someone might be able to help you (I will if I can) Array.push(), Array.pop(), Array.shift(), Array.unshift(). Ok, so what are your intended br

Re: [PHP] Re: How to re-order an array

2006-06-11 Thread jekillen
On Jun 11, 2006, at 1:21 PM, Rafael wrote: jekillen wrote: [···] You misunderstand my question. I know the limitations of javascript. The server won't respond to events registered in the browser. I write tons of forms that are all processed by the client with javascript. I have written feroci

Re: [PHP] Re: How to re-order an array

2006-06-11 Thread Rafael
jekillen wrote: [···] You misunderstand my question. I know the limitations of javascript. The server won't respond to events registered in the browser. I write tons of forms that are all processed by the client with javascript. I have written ferocious regex filters that hack apart form submis

Re: [PHP] Re: How to re-order an array

2006-06-10 Thread Larry Garfield
On Saturday 10 June 2006 21:08, jekillen wrote: > You misunderstand my question. I know the limitations of javascript. > The server won't respond to events registered in the browser. I write > tons of forms that are all processed > by the client with javascript. I have written ferocious regex filt

Re: [PHP] Re: How to re-order an array

2006-06-10 Thread jekillen
On Jun 10, 2006, at 5:32 PM, Rafael wrote: Since you asked for some theory... theorically, you won't rely on javascript to prepare/validate/whatever some data to the server, that's what server-side scripts are for. Note: you may use JS to make things quicker if possible, or to pre-digest the