• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

attribute in html

 
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
Pie
Posts: 65123
91
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