Possible values:

Example HTML code 1:

This example illustrates the use of the parentTextEdit property:

<head><scripttype="text/javascript">function CreateParentRange (elem) {
//gets the first object that can be used to create a TextRange object
var textRangeObj = elem.parentTextEdit ;
// alert with the tagName of the object
alert (textRangeObj.tagName);
// create the TextRange
var myTextRange = textRangeObj.createTextRange ();
// select all contents in the TextRange
myTextRange.select ();
}
</script></head><body><divonclick="CreateParentRange (this)">Click this text to create a textRange from this division element!</div></body>