This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes Disabling form elements on a table row Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Disabling form elements on a table row" Watch "Disabling form elements on a table row" New topic

Disabling form elements on a table row

John Olston

Joined: Jan 08, 2005
Posts: 3
I'm trying to figure out how to disable a submit button when a radio button is clicked on a table row. Each corresponding table row has two radio buttons (one that will be used to disable the submit button) and its own submit button. When the user clicks on the radio button on each table row, it should disable the button. How do I do this for each row using
Java Script. Any ideas? Thanks.
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
Naming convention for the buttons? If they relate to each other it is rather easy.

I agree. Here's the link:
subject: Disabling form elements on a table row
It's not a secret anymore!