aspose file tools*
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
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
Author

Disabling form elements on a table row

John Olston
Greenhorn

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
author
Rancher

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

Eric
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Disabling form elements on a table row