NYCPHP Meetup

NYPHP.org

[nycphp-talk] Javascript and PHP arrays (Massive Redux)

Hans C. Kaspersetz hans at cyberxdesigns.com
Thu Jul 29 12:01:50 EDT 2004


You might want to try this question on the front end list.  Does not 
really seem to be a PHP technical issue.

The front end list can be found here: 
http://lists.nyphp.org/mailman/listinfo/front-end

Hans K
hans.kaspersetz atx  nyphp.org

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);
>
>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
>
>  
>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20040729/4747afd1/attachment.html>


More information about the talk mailing list