The isMultiLine Property


The isMultiLine Property

The isMultiLine property indicates whether an element displayed its content (usually text) in multiple lines. For example, an HTML text field will return false, although an HTML text area can return true, as can a button (button captions can extend over several lines). You can see the support for this property in Table 5.30.

Table 5.30. The isMultiLine Property

Property

NS2

NS3

NS4

NS6

IE3a

IE3b

IE4

IE5

IE5.5

IE6

isMultiLine

               

x

x

 

Read-only

 

Type: Boolean



Inside Javascript
Inside JavaScript
ISBN: 0735712859
EAN: 2147483647
Year: 2005
Pages: 492
Authors: Steve Holzner

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net