This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes Disable the radio button from radio button Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Disable the radio button from radio button" Watch "Disable the radio button from radio button" New topic
Author

Disable the radio button from radio button

Seshadri Babu
Greenhorn

Joined: Dec 21, 2005
Posts: 2
How to disable the radio button when i select the radio button.

for ex:

if i select

RadioButton 1:
Yes
No

I checked the Yes, disable the RadioButton2 otherwise its enable
RadioButton2:
Yes
No


thnks n regds<br />Seshadri Babu
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
basic idea:


Call it onclick

Eric
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Disable the radio button from radio button
 
Similar Threads
Radio buttons
Problem with radio button
ava script for diable/enable textbox and options with the help of radio button
Retrieving radio button selected values.
Disable the form elements in Netscape 4.36?