Section 25.181. Input.select( ): select the text in a form element


25.181. Input.select( ): select the text in a form element

DOM Level 2 HTML

25.181.1. Synopsis

 void select( ) 

25.181.2. Description

The select( ) method selects the text displayed in an input element of type "text", "password", or "file". The effects of selecting text may vary from platform to platform, but typically: the text is highlighted, it becomes available for cut and paste, and it is deleted if the user types another character.




JavaScript. The Definitive Guide
JavaScript: The Definitive Guide
ISBN: 0596101996
EAN: 2147483647
Year: 2004
Pages: 767

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net