Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
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 Badass: Making Users Awesome this week in the Game Development 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: 11624

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
I agree. Here's the link:
subject: enabling and disabling text fields and buttons