Приглашаем посетить
Высоцкий (vysotskiy-lit.ru)

User Selection and Editing Operations

Chapter 14

User Selection and Editing Operations

This chapter introduces the TextRange object, which is used to access and manipulate the document's contents. Dynamic HTML defines an object model that can manipulate a document through script, similar to a text editor. The TextRange object represents the editing capabilities of the browser and exposes operations that constitute the editing model. Using the TextRange object, you can edit any text and you can access and manipulate the highlighted text that the user has selected on the screen.

The following topics are covered in this chapter:

[Содержание]