You are here: radio button, check for use « All PHP « IT news, forums, messages
radio button, check for use

Posted by frits on 04/09/07 19:47

I have the following code:

<input type="radio" id="q1" name="q1" value="Yes">
<input type="radio" id="q1" name="q1" value="No">

Now I want to check if the button q1 is used so the code must be extended.
When the button is not used, the value must be "q1 not used".

How can I do that? I will not use the "checked" option in the code if it is
showed in the site.
When there is a hidden "checked" option than the value of q1 is always "q1
not used" what can be a solution....

Frits

 

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

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