YouTip LogoYouTip

Prop Progress Value

# Progress value Property [![Image 8: Progress Object Reference](#) Progress Object](#) ## Example Change the value of the current progress bar: document.getElementById("myProgress").value="75"; [Try it Yourself Β»](#) * * * ## Definition and Usage The value property sets or returns the value of the value attribute of a progress bar. The value attribute describes how much of the task has been completed. **Note:** The element is new in HTML5. * * * ## Browser Support ![Image 9: Internet Explorer](#)![Image 10: Firefox](#)![Image 11: Opera](#)![Image 12: Google Chrome](#)![Image 13: Safari](#) The value property is supported in Internet Explorer 10, Firefox, Opera, Chrome, and Safari 6. **Note:** Internet Explorer 9 and earlier versions do not support the value property. * * * ## Syntax Return the value property: _progressObject_.value Set the value property: _progressObject_.value=_number_ ## Property Values | Value | Description | | --- | --- | | _number_ | Describes how much of the task has been completed | ## Technical Details | Return Value: | A floating-point number representing the progress of the current task | | --- | * * * ## More Examples ## Example Get the current value (progress) of the progress bar: var x = document.getElementById("myProgress").value; The _x_ output will be: 75 [Try it Yourself Β»](#) * * * ## Related Pages HTML Reference: [HTML value attribute](#) * * Progress Object](#)
← Python3 StdlibDom Obj Progress β†’