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 Radio buttons 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 "Radio buttons" Watch "Radio buttons" New topic

Radio buttons

Angela D'souza
Ranch Hand

Joined: Jan 16, 2002
Posts: 469
I have two radio button & one textbox:
Radio A
Radio B
Textbox T
When I select radio button A, I want to disable textbox and when I select radio button B, I want to enabled textbox. How can I do it?
Charlie Sturman
Ranch Hand

Joined: Apr 04, 2002
Posts: 112
The "on click" event needs the space removed this is a forum software problem

[ May 09, 2002: Message edited by: Charlie Sturman ]
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Radio buttons
Similar Threads
How to populate a value in text box
java script problem
ava script for diable/enable textbox and options with the help of radio button
Selecting a second radio button on checking the first
how to display a textbox when a radio button is selected