Re: [PHP] Take JS array send by form

2001-08-01 Thread Richard Lynch
>you have to name the fields pn[0],pn[1]... >(you can name them all pn[] but you might have problems with the >javascript) With or without the indices inside [] makes no difference to JavaScript (viz). >then to access them from javascript you go something like: >document.forms[0].elements['pn[0]

Re: [PHP] Take JS array send by form

2001-08-01 Thread Mark Maggelet
On Wed, 1 Aug 2001 23:17:49 +0200, Ivo ([EMAIL PROTECTED]) wrote: >Hi > >I faced following problem: > >I've a form where which could have one or more input text fields (it >is not >clear how many they will be - one or more). Thay have same name - pn >- and >if they are more that one JavaScript tre