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 enabling and disabling text fields and buttons 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 "enabling and disabling text fields and buttons" Watch "enabling and disabling text fields and buttons" New topic

enabling and disabling text fields and buttons

shilpy vijay

Joined: Sep 02, 2008
Posts: 1
i am working on a jsp page with many text fields.I want that when i click on the edit button corrosponding to a text field,then that text field should become editable and the rest of the edit buttons should disappear and a save button should appear for that text field.
How can i do it using jsp and js??
Gilles Marceau
Ranch Hand

Joined: Feb 17, 2007
Posts: 78

i think you asked in the wrong forum, this one is dedicated to the SCJD certification and has nothing to do with JSP.

SCJP 1.5<br />SCJD 1.6<br />SCBCD in progress...
Andrew Monkhouse
author and jackaroo
Marshal Commander

Joined: Mar 28, 2003
Posts: 11705

Moving to the HTML and JavaScript forum, as this functionality is best provided by JavaScript.

Regards, Andrew

The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
Consider Paul's rocket mass heater.
subject: enabling and disabling text fields and buttons
It's not a secret anymore!