contentEditable property
Sets or retrieves the string that indicates whether the user can edit the content of the object.
Syntax
HRESULT value = object.put_contentEditable( v);HRESULT value = object.get_contentEditable(* p);
Property values
Type: BSTR
inherit
Default. Content's ability to be edited by user is inherited from object's parent.
false
Content cannot be edited by the user.
true
Content can be edited by the user.
Remarks
Security Warning: Users can change the contents of a document when the IHTMLElement3::contentEditable property is set to TRUE. Using this property incorrectly can compromise the security of your application. Incorrect use of the IHTMLElement3::contentEditable property might include not validating user input. If you do not validate user input, a malicious user can inject control characters or script that can harm your data. You should take routine precautions against displaying unvalidated user input. For more information, see Security Considerations: Dynamic HTML.
Windows Internet Explorer 8 and later. When a webpage is displayed in IE8 Standards mode, an object cannot receive focus when p is set to false
. When pages are displayed in earlier document compatibility modes, objects can receive focus when p is false
.