File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
attribute in html
Joined: Oct 08, 2006
Oct 12, 2006 07:51:00
I am retrieving the particular record(read only mode) from the Database. Now i want to edit those particular record with the help of one edit button.
After pressing the "Edit" button all existing data should come in "editable" form.(read & write mode). So that anybody can see the existing data & modify as per their requirement.
So which attribute of html i have to use ?
can anybody help me out. Thanks in advance.
Author and ninkuma
Joined: Jan 10, 2002
Oct 12, 2006 10:23:00
You could show the data in text fields with readOnly set to true. When Edit is clicked, turn readOnly off so that the fields become editable.
Asking smart questions
Books by Bear
I agree. Here's the link:
subject: attribute in html
exract the values of a row which is dynamically generated
add a row
getting previous value when using display:table
Parent-Child form interaction
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014