Inside JavaScript

The isContentEditable Property

The isContentEditable property returns true if the content of an element is editable (see the contentEditable property earlier in this chapter for all the details on making web page content editable). You can see the support for this property in Table 5.28.

Table 5.28. The isContentEditable Property

Property

NS2

NS3

NS4

NS6

IE3a

IE3b

IE4

IE5

IE5.5

IE6

isContentEditable

               

x

x

 

Read-only

 

Type: Boolean

Категории