Thursday, November 17, 2011

The following example shows how to use the contentEditable property to control whether the user can edit the content of the object.



Click the button to enable or disable SPAN content editing.

You can edit this text.
SPAN can be edited:
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
Ref.: CONTENTEDITABLE Attribute | contentEditable Property

Labels: ,

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home