Progress position Property

❮ Progress Object

Example

Get the current position of the progress bar:

var x = document.getElementById("myProgress").position;
Try it Yourself »

Description

The position property returns the current position of the progress bar.

The value of this property is the result of dividing the current value (specified with the value attribute) by the maximum value (specifies with the max attribute).

Note: This property is read-only.


Browser Support

Property
position Yes 10.0 Yes 6.0 Yes

Syntax

progressObject.position

Technical Details

Return Value: A floating point number, representing the current position of the progress bar

❮ Progress Object
Copyright 1999-2023 by Refsnes Data. All Rights Reserved.