Prop Range Value
# HTML DOM Input Range value Property
[ Input Range Object](#)
## Example
Change the value of the slider control:
document.getElementById("myRange").value = "75";
[Try it yourself Β»](#)
* * *
## Definition and Usage
The `value` property sets or returns the value of the `value` attribute of a slider control.
The `value` property describes the value entered by the user, the default value, or the value entered by a script.
* * *
## Browser Support

The `value` property is supported in all major browsers.
**Note:** Internet Explorer 9 and earlier do not support the HTML `` element with `type="range"`.
* * *
## Syntax
Return the `value` property:
```javascript
_rangeObject_.value
Set the `value` property:
```javascript
_rangeObject_.value=_number_
## Property Values
| Value | Description |
| --- | --- |
| _number_ | Specifies the initial (default) value of the slider control. If not specified, the default value is "50" |
## Technical Details
| Return Value: | A string, representing a number |
| --- |
* * *
## More Examples
## Example
Get the value of the slider control:
```javascript
var x = document.getElementById("myRange").value;
The _x_ output will be:
```text
50
[Try it yourself Β»](#)
* * *
## Related Pages
HTML Reference: [HTML `` value attribute](#)
* * Input Range Object](#)
YouTip