25.181. Input.select( ): select the text in a form elementDOM Level 2 HTML25.181.1. Synopsisvoid select( ) 25.181.2. DescriptionThe 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. |