The following example shows how to use the contentEditable property to control whether the user can edit the content of the object.
Ref.: CONTENTEDITABLE Attribute | contentEditable Property
Click the button to enable or disable SPAN content editing.Code example: http://samples.msdn.microsoft.com/workshop/samples/author/dhtml/refs/contentEditableEX2.htm This example demonstrates the features of Internet Explorer that enable users to edit the content of an HTML element directly from the browser. Code example: http://samples.msdn.microsoft.com/workshop/samples/author/dhtml/refs/editRegions.htm
You can edit this text.
SPAN can be edited:
Ref.: CONTENTEDITABLE Attribute | contentEditable Property
Labels: HTML, JavaScript
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home