Progress position Property
Example
Get the current value of the progress bar:
var x = document.getElementById("myProgress").position;
x
The output is:
0.22
Try it »
Definition and Usage
The position property returns the current progress of the progress bar.
This property reflects the position of the current progress, which is the value of value / max.
Note: This attribute is read-only.
Note:
Browser support





Internet Explorer 10, Firefox, Opera, Chrome, and Safari 6 support the position property.
**Note:** Internet Explorer 9 and earlier versions of IE do not support the value property.
Syntax
progressObject
.position
Technical Details
| Return Value: | A floating-point number representing the progress of the current task |
|---|
Progress Object