File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes disabling and enabling text boxes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "disabling and enabling text boxes" Watch "disabling and enabling text boxes" New topic

disabling and enabling text boxes

surya gond

Joined: Sep 28, 2004
Posts: 2
I have a form in which, there will be a table with x number of rows and 2 columns coming from the database. These two columns are text boxes. In each row there will be a check box adjacent to the textboxes.

What I want is
1) on loading the form, all the x number of rows in the table should be disabled for editing.
2) When a user clicks on the check box in a row the text boxes in that row should be enabled for editing.
3) when a user does not put any data in the row the user should get a popup about the null value.

Please let me know if I need to provide some more information

Thank You
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
You want to do this server or client side?
I agree. Here's the link:
subject: disabling and enabling text boxes
jQuery in Action, 3rd edition