This week's giveaway is in the Threads forum.
We're giving away four copies of Java Concurrency Live Lessons and have Doug Schmidt on-line!
See this thread for details.
Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

attribute in html  RSS feed

 
chauhan prakash
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!