It is necessary to have this property because the Element.contentEditable property may have the value "inherited" assigned to it. To determine whether the content was in fact editable would require you to walk up the document hierarchy to a parent node whose contentEditable property was set explicitly.
Prev | Home | Next |
Element.insertAdjacentText() | Up | Element.isDisabled |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |