[nycphp-talk] Javascript and PHP arrays (Massive Redux)
Phillip Powell
phillip.powell at adnet-sys.com
Thu Jul 29 12:15:59 EDT 2004
Chris Bielanski wrote:
>Phil Powell wrote:
>
>
>>in Javascript you would write the form element like this:
>>
>>document.myForm.elements['array[]']. I've found online resources on
>>www.phpbuilder.com that verified this for me.
>>
>>Phil
>>
>>--
>>--------------------------------------------------------------
>>-------------------
>>Phil Powell
>>Multimedia Programmer
>>BPX Technologies, Inc.
>>#: (703) 709-7218 x107
>>Fax: (703) 709-7219
>>
>>
>
>Unfortunately when I try to
>
>alert(document.myForm.elements['array[]'].value);
>
>
[snip] I emailed you privately with a solution I came up with to keep it
offlist (noise redux?).
You've got mail!
Phil
>I get 'undefined' (yes I put text in the input control). I shall keep a
>vigilant watch :)
>
>Thanks,
>Chris Bielanski
>Web Programmer,
>International Trademark Association,
>1133 Avenue of the Americas, 33rd Floor
>New York, NY 10036
>+1 (212) 642-1745, f: +1 (212) 768-7796
>mailto:cbielanski at inta.org, www.inta.org
>INTA -- 125 Years of Excellence
>
>
>_______________________________________________
>New York PHP Talk
>Supporting AMP Technology (Apache/MySQL/PHP)
>http://lists.nyphp.org/mailman/listinfo/talk
>http://www.newyorkphp.org
>
>
>
--
---------------------------------------------------------------------------------
Phil Powell
Multimedia Programmer
BPX Technologies, Inc.
#: (703) 709-7218 x107
Fax: (703) 709-7219
More information about the talk
mailing list