Part of this is the natural thinking (certainly I have it) that radio buttons 
shouldn't/don't trigger actions just by clicking them.  In the main, I'd tend to use a 
(set of) radio button to hold a user selection for subsequent passive reading when the 
form is submitted.

Recently, however, I've been using them in active (clickable) fashion to act on user 
choices.  For example, in my summary screens I'm using them to allow the user to 
control the sort order.  The onclick event directly saves a cookie and resubmits the 
page to get a database retrieve with a different sort order (this is an intranet and 
I'm not interested in sorting at the browser end).  I could have used buttons or 
drop-down lists or check boxes but the "one and only one active" paradigm of the radio 
button seems more natural for the users for this type of thing.

Dave S

  ----- Original Message ----- 
  From: Andy and Kim Mills 
  To: [EMAIL PROTECTED] 
  Sent: Tuesday, June 15, 2004 11:27 PM
  Subject: Re: Re: [ASP] ONCHANGE Requires Double Click


  Dave:

  That makes a lot of sense.  Thank you for your help.

  To be honest:  I think you get something stuck in your head, and you need someone 
else to point it out to you.  I had it in my mind that the onchange event is what was 
needed (male egos tend to do that).

  But anyway:  thanks for the help.

  Andy

  ----- Original Message -----

  I think the "onchange" won't fire until the change is "committed" - i.e. you move 
away from the radio button (or presumably double-click it).  If you want it to respond 
to a click, why not use an "onclick" event?

  Dave S


  ---
  Outgoing mail is certified Virus Free.
  Checked by AVG anti-virus system (http://www.grisoft.com).
  Version: 6.0.706 / Virus Database: 462 - Release Date: 14/06/04

[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/17folB/TM
--------------------------------------------------------------------~-> 

---------------------------------------------------------------------    
 Home       : http://groups.yahoo.com/group/active-server-pages
---------------------------------------------------------------------
 Post       : [EMAIL PROTECTED]
 Subscribe  : [EMAIL PROTECTED]
 Unsubscribe: [EMAIL PROTECTED]
--------------------------------------------------------------------- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/active-server-pages/

<*> To unsubscribe from this group, send an email to:
     [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/
 

Reply via email to