Input URL select() Method

❮ Input URL Object

Example

Select the content of a URL text field:

document.getElementById("myURL").select();
Try it Yourself »

Description

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
Copyright 1999-2023 by Refsnes Data. All Rights Reserved.