contentEditable

Value: Boolean Read/Write

Compatibility: WinIE5.5+, MacIE-, NN-, Moz-, Safari 1.2+

IE5.5 introduced the concept of editable HTML content on a page. Element tags can include a contenteditable attribute whose value is echoed via the contentEditable property of the element. The default value for this property is inherit, which means that the property inherits whatever setting this property has in the hierarchy of HTML containers outward to the body. If you set the contentEditable property to true, that element and all nested elements set to inherit the value become editable; conversely, a setting of false turns off the option to edit the content. Safari automatically provides a visual cue for editable elements by giving an editable element a glowing blue border.

0 0

Post a comment

  • Receive news updates via email from this site