File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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 ]
I agree. Here's the link:
subject: Radio buttons
It's not a secret anymore!