DekGenius.com
Team LiB   Previous Section   Next Section
HTMLInputElement.select( ) select the contents of a Text element

Availability

DOM Level 1 HTML

Synopsis

void select(  );

Description

This method selects any text displayed in Text, Password, and FileUpload elements. In most browsers, this means that the user's next keystroke will replace the current text rather than being appended to it.

    Team LiB   Previous Section   Next Section