Uncheck a radio ?

Results 1 to 3 of 3

Thread: Uncheck a radio ?

  1. #1
    Sid Guest

    Default Uncheck a radio ?

    Hi all i am using an onclick to hide a few text boxes but i would also like to uncheck a radio this is what i have tried ...<BR><BR>document.apply.bothLegs.checked=&#039fa lse&#039<BR><BR>this does not work . Can anyone help ?<BR>Thanks <BR>Sid

  2. #2
    Join Date
    Dec 1969

    Default RE: Uncheck a radio ?

    firstly you need a boolean variable, you have text, so try<BR><BR>document.formName.radioButtonName.check ed = false<BR><BR>also you probably need to put in the ordinal position of the radio you want to uncheck,<BR><BR>document.formName.radioButtonName[0].checked = false<BR><BR>should do it.<BR>

  3. #3
    Sid Guest

    Default RE: Uncheck a radio ?

    Thanks but i have had to change the way i am doing this completely. ( nice clients ) ;-(

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts