selection.empty() (Method)

A means of emptying a selection.

Availability:

JScript - 3.0
Internet Explorer - 4.0
JavaScript syntax:IEmySelection.empty()

This deselects the text and sets the Selection object's type to "None". The document content is unchanged and the only visible artifact is that the highlighted area returns to its normal unhighlighted state.