Platform Support
| Mozilla | Chrome | Safari | Opera | IE | Netscape | no | no | 4.0.6+ | no | no | no |
|---|
Constructors
| Constructor | Action | Mozilla | Chrome | Safari | Opera | IE | Netscape | ||
|---|---|---|---|---|---|---|---|---|---|
|
HTMLProgressElement Constructor() : HTMLProgressElement
Creates an instance of the HTMLProgressElement.
|
Show Details | no | no | 4.0.6+ | no | no | no | ||
HTMLProgressElement() : HTMLProgressElementCreates an instance of the HTMLProgressElement. Returns
|
|||||||||
Properties
| Property | Action | Mozilla | Chrome | Safari | Opera | IE | Netscape |
|---|---|---|---|---|---|---|---|
|
value
: Number
Specifies how much of the task has been completed.
|
Show Details | no | no | 4.0.6+ | no | no | no |
|
|||||||
|
max
: Number
Specifies how much work the task requires in total.
|
Show Details | no | no | 4.0.6+ | no | no | no |
|
|||||||
|
position
: Number
For a determinate progress bar (one with known current and maximum values), returns the result of dividing the current value
by the maximum value.
|
Show Details | no | no | 4.0.6+ | no | no | no |
|
|||||||
|
form
: HTMLFormElement
Used to explicitly associate the progress element with its form owner.
|
Show Details | no | no | 4.0.6+ | no | no | no |
|
|||||||
|
labels
: NodeList
Returns a NodeList of all the label elements that the form control is associated with.
|
Show Details | no | no | 4.0.6+ | no | no | no |
|
|||||||
Inherited Functions
| Method | Action | Mozilla | Chrome | Safari | Opera | IE | Netscape | |||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
getElementsByClassName(String classNames) : NodeList
Returns a NodeList containing all the
Element nodes with the specified classNames. |
Show Details | 1.9+ | 5.0+ | 3.1+ | 9.51+ | no | no | |||||
|
Parameters
Returns
|
||||||||||||
References
Availability
JavaScript 1.2|WhatWG