Input Range blur() Method

Input Range Object Reference Input Range Object

Example

Remove focus from a slider control:

document.getElementById("myRange").blur();

Try it yourself »

Definition and Usage

The blur() method is used to remove focus from a slider control

Tip: Use the focus() method to give focus to a slider control.


Browser Support

Internet Explorer Firefox Opera Google Chrome Safari

The blur() method is supported in all major browsers.


Syntax

rangeObject.blur()

Parameters

None.

Technical Details

Return Value: No return value

Input Range Object Reference Input Range Object

SHARE THIS PAGE

COLOR PICKER

colorpicker