jQuery in Action, 3rd edition
The moose likes HTML, CSS and JavaScript and the fly likes attribute in html Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "attribute in html" Watch "attribute in html" New topic

attribute in html

chauhan prakash

Joined: Oct 08, 2006
Posts: 6
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

Joined: Jan 10, 2002
Posts: 63348

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] [Bear's FrontMan] [About Bear] [Books by Bear]
I agree. Here's the link: http://aspose.com/file-tools
subject: attribute in html
It's not a secret anymore!