Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript_howto thread: Radio Button Checked by default


Message #1 by "payam." <torkian@c...> on Sat, 15 Feb 2003 10:04:14 +0330 (IRT)
Hi all 
    when i click on radio button it should get checked when i again click on same radio it should get unchecked. radio button should
act as check box 
This i need when i want to clear all radio buttons
Is it possible?
 
rgds
Jai
 
 
 Abdul Majid Qazi <majid@i...> wrote:Salam,

Just add "checked" in the tag. e.g.


 [input] Salam
 [input] Hello
 [input] Bye


Majid


----- Original Message -----
From: "payam." 
To: "JavaScript HowTo" 
Sent: Saturday, February 15, 2003 1:34 AM
Subject: [javascript_howto] Radio Button Checked by default


> Hello,
>
> How could I have one of my radio(e.g "salam" ) buttons checked by default
> when my page loads?:
>
> 
>  [input] Salam
>  [input] Hello
>  [input] Bye
> 
>
> thanks.
>
>
>




---------------------------------
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day

  Return to Index