javascript BODY isTextEdit
@March 15, 2008, 1:22 a.m.
isTextEdit | Firefox/Netscape/NN n/a IE 4 Chrome/Safari/DOM n/a |
Read-only | |
Specifies whether the element can be used to create an IE/Windows TextRange object (via the createTextRange( ) method). Only body, button, text type input, and textarea elements are permitted to have text ranges created for their content. |
|
Example | |
if (document.getElementById("elementID").isTextEdit) { var rng = document.getElementById("elementID").createTextRange( ); } |
|
Value | |
Boolean value: true | false. |
|
Default | |
Element default. |
Permanent URL:
http://javascript.gakaa.com/body-istextedit.aspx
Powered by Linode.