Javascript Reference
Categories: Element

javascript Element isContentEditable

@March 15, 2008, 1:22 a.m.
isContentEditableFirefox/Netscape/NN n/a IE 5.5(Win) Chrome/Safari/DOM n/a  

Read-only  

Specifies whether the current element has IE/Windows user editing engaged. Reveals the actual editing state as either explicitly set for the element or inherited from its ancestor tree.

 
Example
 
if (document.getElementById("elementID").isContentEditable) {
    // process the editable element
}
 
Value

Boolean value: true | false.

 
Default

false

try this now!
Bill - 2008-12-17
hello Mark
Mark - 2008-12-17

Powered by Linode.