Home

Awesome

dom-element-value

Build Status

DOM element value getter/setter.

API

value(element, value)

Gets/sets the element value (the value can be an array for multiple select inputs).

value(element, "some data"); // Setter
value(element); // Getter

Acknowledgement

The component team which provides a lot of solid working bases to plagiarize :-p.