Input URL select() Methode
Definition and usage
select()
The method is used to select the content of the URL text field.
Example
Select the content of the URL text field:
document.getElementById("myURL").select();
Syntax
urlObject.select()Parameters
None.
Technical details
Return value:
No return value.
Browser support
Chrome | Edge | Firefox | Safari | Opera |
---|---|---|---|---|
Chrome | Edge | Firefox | Safari | Opera |
Support | Support | Support | Support | Support |