javascript Element IsMultiLine

isMultiLineNN n/a IE 5.5(Win) DOM n/a  

Read-only  

Specifies whether the current element allows content to extend across multiple lines. Most text containers allow multiple lines, but other kinds of elements, such as a text input element are restricted to single line rendering.

 
Example
 
if (document.getElementById("elementID").isMultiLine) {
    // process the element as a potential multiple-line element
}
 
Value

Boolean value: true | false.

 
Default

Element default.


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