Jump to content


radio button

  • Please log in to reply
1 reply to this topic

#1 chico1st

  • Members
  • PipPipPip
  • Advanced Member
  • 60 posts

Posted 11 August 2006 - 05:57 AM

I have 2 radio buttons in a form. I was wondering how to trigger a button if someone clicks on a different part of the form, like in a text box?
I searched it but i didnt know what to search for except "radio button" which gave me a million results


#2 corbin

  • Staff Alumni
  • Advanced Member
  • 8,129 posts

Posted 11 August 2006 - 06:12 AM

<script type="text/javascript">
function check(name)

function uncheck(name)

<input type="radio" name="R1" value="V1" id="R1" /><BR>
<input type="text" name="text" onClick="check('R1');" />

Thatll make it where if someone clicks in the text box it selects the radio button...
Why doesn't anyone ever say hi, hey, or whad up world?

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users