javascript Element isContentEditable

isContentEditableNN n/a IE 5.5(Win) 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


  • Mark
    #1
    2008-12-17
    [Quote]
    hello Mark
  • Bill
    #2
    2008-12-17
    [Quote]
    try this now!
Mark
Bill

677,Nickname,Homepage or email,Comments here,Add comment