Posted by claudel on 07/21/05 01:19
In article <42deb6ce$0$82401$dbd43001@news.euronet.nl>,
Janwillem Borleffs <jw@jwscripts.com> wrote:
>claudel wrote:
>> I've looked around for a viable solution, but haven't found anything
>> that
>> seems that it will bridge this disconnect.
>>
>
>Then you have missed out on the JS Faq, because it is in there:
>
>Instead of: document.survey_form.food_types[]
>Do: document.survey_form.elements['food_types[]']
>
>Or better yet:
>
>document.forms['survey_form'].elements['food_types[]']
>
>An alternative would be to enable the always_populate_raw_post_data
>directive in your php.ini file, which enables you to grasp the element's
>values through the $HTTP_RAW_POST_DATA variable without the need of using
>the brackets.
>
>
>JW
>
>
>
Thanks. I'm just getting started with JS...
Claude
[Back to original message]
|