This property can be set under script control. The following values are appropriate for use with it:
inherit
true
false
When set to false, the content cannot be changed. When set to inherit, the ability to change the content depends on the setting of this property in the parent Node.
You cannot set this property on the following element types:
TABLE
COL
COLGROUP
TBODY
TD
TFOOT
TH
THEAD
TR
However you can work around this by placing <DIV> and <SPAN> elements inside the table cells and then setting their contentEditable property as needed.
Prev | Home | Next |
Element.contains() | Up | Element.currentStyle |
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. |