Name
select( ) — NN n/a IE 4 DOM n/a
Synopsis
Selects all the text that is included in the current
TextRange
object. This method brings some visual
confirmation to users that a script knows about a particular block of
text. For example, if you were scripting a search with the
findText( )
method, you would then use the
scrollIntoView( )
and select( )
methods on that range to show the user where the matching text is.
Returned Value
None.
Parameters
None.
Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.