-
The contenteditable HTML Attribute
Who needs form fields? Now that we have the contenteditable attribute, any element can be editable. Here’s all you have to do to make a field editable: <div contenteditable>This is editable content. Go ahead, change it.</div> Which acts just like this area (click the text to edit it): This is editable content. Go ahead, change…