You are here: Re: Newb problem with checkboxes « PHP Programming Language « IT news, forums, messages
Re: Newb problem with checkboxes

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация