Posted by Adrienne Boswell on 04/10/07 02:00
Gazing into my crystal ball I observed "frits" <fsch01@hotmail.com>
writing in news:4ef16$461a993e$503824ed$21010@news.chello.nl:
> 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
>
>
<input type="radio" id="q1" value="Yes" name="q1">
<input type="radio" id="q2" value="q1 not checked" name="q1">
Please note that the id attribute must be unique for each element.
--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share
Navigation:
[Reply to this message]
|