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

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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: 15376
You want to do this server or client side?
jQuery in Action, 2nd edition
subject: disabling and enabling text boxes
Similar Threads
How to do "Insert Table & Form" in my Java program?
JSP/JDBC problem...please help!!!!
Highlighting a row in a table
How to manage nested textboxes as input ?
access child elements in parent form