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
----- Original Message -----
From: Andy and Kim Mills
To: [EMAIL PROTECTED]
Sent: Tuesday, June 15, 2004 11:13 PM
Subject: [ASP] ONCHANGE Requires Double Click
Hello Guys:
I have an ONChange Event on my Radio Button that calls a JavaScript function. The
problem is: I have to double click to get the JavaScript function to be called.
Here is my Radio Button being defined.
<TD><INPUT TYPE = "radio" NAME = "ApplicationID" VALUE = "<%=RS("ApplicationID")%>"
<% If CInt(RS("ApplicationID")) = CInt(intApplicationID) Then Response.Write(" CHECKED
") End If %> ONCHANGE = "ApplicationID_OnChange(<%=RS("ApplicationID")%>)"></TD>
Does anyone know what I am doing wrong?
Thanks
Andy
---
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/