Web/API/HTMLDataElement/value

From Get docs

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 StandardThe definition of 'HTMLDataElement.value' in that specification. Living Standard  
HTML5The definition of 'value' in that specification. Recommendation  

Browser compatibility

Update compatibility data on GitHub

Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari Android webview Chrome for Android Firefox for Android Opera for Android Safari on iOS Samsung Internet
value Chrome

Full support 62

Edge

Full support 14

Firefox

Full support 22

IE

No support No

Opera

Full support 49

Safari

Full support 10

WebView Android

Full support 62

Chrome Android

Full support 62

Firefox Android

Full support 22

Opera Android

Full support 46

Safari iOS

Full support 10

Samsung Internet Android

Full support 8.0

Legend

Full support  
Full support
No support  
No support