From: Dr_Kral on
On Fri, 26 Mar 2010 07:55:11 +0000, Geoff <geoff(a)invalid.invalid> wrote in
<tkooq59dlnjvou2kn7d33ct1go6p16hccg(a)4ax.com>:

>On Thu, 25 Mar 2010 19:18:29 -0400, Dr_Kral(a)nyc.rr.com.invalid wrote:
>
>>First, there is no any point in interrogating the state of a radio button
>>with onclick like there is for a check box. The former is always 'true'
>>while the latter may be either true or falue.
>
>K.
>
>Is this correct?
Yes. But of course there are many correct solutions.
>
>onclick="document.getElementById('id_13a').style.display='inline'" for
>yes
>
>and
>
>onclick="document.getElementById('id_13a').style.display='none'" for
>no
>
>>Second, in my example I used ...this..... which you changed to
>>....id_name.... "this" is a special reserved word but the id_name should
>>be "document.getElementById(id_name)" to properly identify the object.
>
>I have now used 'this.checked' etc for the checkboxes.
Ditto.
>
>>Third, you made but the true and false results of the conditional operator
>>the same in, e.g., question 13, which is not a reasonable thing to do.
>
>I didn't like that but couldn't see how else to do it. I have now
>removed the ternary condition for the radio buttons.
There is never a ternary situation with a radio button set. Only one
button can be checked at a time and each button is either 'checked' or 'not
checked'. It is not possible to uncheck a radio by clicking it like it is
to uncheck a check box.
>
>http://www.micro-active.com/a-wm2/a-q-student-wm2.htm
>

Why it is significant WHICH language a responder speaks but NOT which
language is signed?

>Cheers
>
>Geoff
From: The Natural Philosopher on
Dr_Kral(a)nyc.rr.com.invalid wrote:
>
> There is never a ternary situation with a radio button set. Only one
> button can be checked at a time and each button is either 'checked' or 'not
> checked'. It is not possible to uncheck a radio by clicking it like it is
> to uncheck a check box.

It is however possible to have NONE checked at ALL.
From: Dr_Kral on
On Fri, 26 Mar 2010 17:03:04 +0000, The Natural Philosopher
<tnp(a)invalid.invalid> wrote in <hoipc8$mv7$10(a)news.albasani.net>:

>Dr_Kral(a)nyc.rr.com.invalid wrote:
>>
>> There is never a ternary situation with a radio button set. Only one
>> button can be checked at a time and each button is either 'checked' or 'not
>> checked'. It is not possible to uncheck a radio by clicking it like it is
>> to uncheck a check box.
>
>It is however possible to have NONE checked at ALL.

True. If one tests each button in a set, then they all can be not checked
but this is not possible to do onclick of any of the se . Onclick with a
radio button one must have checked==true and that was where the testing was
done.

K.
From: Geoff on
On Fri, 26 Mar 2010 12:14:16 -0400, Dr_Kral(a)nyc.rr.com.invalid wrote:

>Why it is significant WHICH language a responder speaks but NOT which
>language is signed?

K.

I will try to find out.

Cheers

Geoff

>
>>Cheers
>>
>>Geoff
From: Dr J R Stockton on
In comp.lang.javascript message <vqvpq5lugj5g3gkh0r294hb5c7bfjgkoa0(a)4ax.
com>, Fri, 26 Mar 2010 14:50:12, Dr_Kral(a)nyc.rr.com.invalid posted:
>On Fri, 26 Mar 2010 17:03:04 +0000, The Natural Philosopher
><tnp(a)invalid.invalid> wrote in <hoipc8$mv7$10(a)news.albasani.net>:
>
>>Dr_Kral(a)nyc.rr.com.invalid wrote:
>>>
>>> There is never a ternary situation with a radio button set. Only one
>>> button can be checked at a time and each button is either 'checked' or 'not
>>> checked'. It is not possible to uncheck a radio by clicking it like it is
>>> to uncheck a check box.
>>
>>It is however possible to have NONE checked at ALL.
>
>True. If one tests each button in a set, then they all can be not checked
>but this is not possible to do onclick of any of the se . Onclick with a
>radio button one must have checked==true and that was where the testing was
>done.

<input type=radio onclick="this.checked=false" checked>


--
(c) John Stockton, Surrey, UK. ?@merlyn.demon.co.uk Turnpike v6.05 MIME.
Web <URL:http://www.merlyn.demon.co.uk/> - FAQish topics, acronyms, & links.
Proper <= 4-line sig. separator as above, a line exactly "-- " (RFCs 5536/7)
Do not Mail News to me. Before a reply, quote with ">" or "> " (RFCs 5536/7)