Re: [PHP] multiple select option alternative to field_name[]

2003-12-29 Thread Marek Kilimajer
Use this.form.elements['select1[]'] Terence wrote: Dear All, The only way I know to retrieve all the values from a multiple select field is to use the square brackets after the field name ie. user_id[] The problem however is that when I use a javascript function to transfer the items from multip

Re: [PHP] multiple select option alternative to field_name[]

2003-12-28 Thread Binay
Hi Terence Assign ids to multiple select field and then use id attribute of select tag in JavaScript to access (copy,del etc.) instead of using the name attribute. Hope this helps. Cheers Binay - Original Message - From: "Terence" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday,