Input URL select() Method
Example
Select the content of a URL text field:
document.getElementById("myURL").select();
Try it Yourself »
Definition and Usage
The select() method is used to select the content of a URL text field.
Browser Support
Method | |||||
---|---|---|---|---|---|
select() | Yes | Yes | Yes | Yes | Yes |
Syntax
urlObject.select()
Parameters
None. |
Technical Details
Return Value: | No return value |
---|
❮ Input URL Object