HTML DOM isContentEditable property
Examples
See <p> element can be edited:
var x = document.getElementById ( "myP") isContentEditable.;
x The output is:
true
try it"
Definition and Usage
Are isContentEditable property returns the content of the element can be edited.
This property is read only.
Tip: Modify the elements editable Use contentEditable property.
Browser Support
Figures in the table represent the first browser to support the property version number.
Attributes | |||||
---|---|---|---|---|---|
isContentEditable | 11.0 | 5.5 | 3.0 | 3.2 | 10.6 |
grammar
HTMLElementObject .isContentEditable
technical details
Return Value: | Boolean value, if element content is editable return true, otherwise returns false. |
---|
Related Pages
Reference the HTML: the HTML contenteditable attribute