Posted by Janwillem Borleffs on 07/20/05 23:40
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
Navigation:
[Reply to this message]
|