Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #12338

Radio Buttons

Path csiph.com!aioe.org!.POSTED!not-for-mail
From emf <emfril@gmail.com>
Newsgroups comp.lang.javascript
Subject Radio Buttons
Date Thu, 01 Mar 2012 21:38:38 -0500
Organization Aioe.org NNTP Server
Lines 17
Message-ID <jipbof$ptp$1@speranza.aioe.org> (permalink)
NNTP-Posting-Host TJ6rEqgmz7Qsa2cY1aWnBg.user.speranza.aioe.org
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 7bit
X-Complaints-To abuse@aioe.org
User-Agent Mozilla/5.0 (Windows NT 5.1; rv:8.0) Gecko/20111105 Thunderbird/8.0
X-Notice Filtered by postfilter v. 0.8.2
Xref csiph.com comp.lang.javascript:12338

Show key headers only | View raw


Example of radio buttons:

<form name="test">
NBC: <input type="radio" name="station" onClick="theone=0"><br>
CBS: <input type="radio" name="station" onClick="theone=1"><br>
ABC: <input type="radio" name="station" onClick="theone=2"><br>
</form>

Is there a way for a radio button to get checked not only when you click 
directly on it, but also when you click on its legend (in the above 
example NBC: etc.), so it won't be difficult to aim the mouse?

emf

-- 
It ain't THAT, babe! - A radical reinterpretation
https://files.nyu.edu/emf202/public/bd/itaintmebabe.html

Back to comp.lang.javascript | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Radio Buttons emf <emfril@gmail.com> - 2012-03-01 21:38 -0500
  Re: Radio Buttons "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2012-03-02 08:49 +0200
    Re: Radio Buttons Swifty <steve.j.swift@gmail.com> - 2012-03-02 09:01 +0000
    Re: Radio Buttons "Evertjan." <exjxw.hannivoort@interxnl.net> - 2012-03-02 14:13 +0000
  Re: Radio Buttons BootNic <bootnic.bounce@gmail.com> - 2012-03-02 01:54 -0500
    Re: Radio Buttons emf <emfril@gmail.com> - 2012-03-02 23:24 -0500
      Re: Radio Buttons "Evertjan." <exjxw.hannivoort@interxnl.net> - 2012-03-03 10:35 +0000
  Re: Radio Buttons Dr J R Stockton <reply1209@merlyn.demon.co.uk> - 2012-03-03 20:26 +0000
    Re: Radio Buttons SAM <stephanemoriaux.NoAdmin@wanadoo.fr.invalid> - 2012-03-06 17:48 +0100
      Re: Radio Buttons "Evertjan." <exjxw.hannivoort@interxnl.net> - 2012-03-06 19:06 +0000
      Re: Radio Buttons Dr J R Stockton <reply1210@merlyn.demon.co.uk> - 2012-03-07 19:31 +0000

csiph-web