Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
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
rocket mass heater
subject: attribute in html
getting previous value when using display:table
Parent-Child form interaction
add a row
exract the values of a row which is dynamically generated
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014