Re: [PHP] associative arrays in html forms and javascript

2001-08-08 Thread Colin Viebrock
> > > > > > > > > and like that the text field won't focus and the parser tells me that > arraystuff has no properties and that inputfield is undefined. ... should work. - Colin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTE

Re: [PHP] associative arrays in html forms and javascript

2001-08-08 Thread Tim McGuire
Yes, I find I have to do this a lot if I have multiple rows in a form and I want to do anything with javascript. I use commands like this: document.formname["the_checkbox[9]"].checked = true and if you needed to stick a variable in the index: theform["the_checkbox["+the_index+"]"].checked = tru

RE: [PHP] associative arrays in html forms and javascript

2001-08-08 Thread Taylor, Stewart
: 08 August 2001 12:56 To: [EMAIL PROTECTED] Subject: [PHP] associative arrays in html forms and javascript Hi everyone :) imagine this if you will.. ugly form with a text input field that is focussed when the form loads, erm.. nice. now, I like to put all my form stuff

[PHP] associative arrays in html forms and javascript

2001-08-08 Thread Daniel James
Hi everyone :) imagine this if you will.. ugly form with a text input field that is focussed when the form loads, erm.. nice. now, I like to put all my form stuff into associative arrays, makes things a lot nicer when I am doing things later... but this... means someth