HTMLDataElement.value

The value property of the HTMLDataElement interface returns a DOMString reflecting the value HTML attribute.

Syntax

var aValue = htmlDataElement.value
htmlDataElement.value = aValue

Value

A DOMString.

Specifications

Specification Status Comment
HTML Living Standard
The definition of 'HTMLDataElement.value' in that specification.
Living Standard  
HTML5
The definition of 'value' in that specification.
Recommendation  

Browser compatibility

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidEdge MobileFirefox for AndroidOpera for AndroidiOS SafariSamsung Internet
Basic supportChrome Full support 62Edge Full support YesFirefox Full support 22IE No support NoOpera Full support 49Safari No support NoWebView Android Full support 62Chrome Android Full support 62Edge Mobile Full support YesFirefox Android Full support 22Opera Android Full support 49Safari iOS No support NoSamsung Internet Android No support No

Legend

Full support  
Full support
No support  
No support

Document Tags and Contributors

Contributors to this page: sideshowbarker, jpmedley
Last updated by: sideshowbarker,