Make a function which deselect both of the radio button.

like 
var chkSelected:Boolean = false;

function deselectAll()
{
 for(var i=0; i<2; i++)
 {
    chk[i].selected==false;
 }
}

function selectToggle()
{
  if(chkSelected)
   {
    delselectAll();
    chkSelected = false;
   }
   else
   {
    chkSelected = true;
    }
}

call selectToggle() ad this will work ...

Regards
Seth
http://blog.thesoftsol.com


--- In [email protected], "Christophe" <christophe_jacque...@...> 
wrote:
>
> Hello, 
> 
> I have two radio buttons: Yes and No.
> 
> At the beginning they are unchecked. Then I press on Yes to select Yes. 
> 
> How to desactivate Yes, if we click a second successive time on Yes.
> 
> Thank you,
> Christophe,
>


Reply via email to