The DOM element has the attribute "value" which you can access by:
element.getAttribute('value');
... which may be different from the element's property value
.
Demo
Note that you may call .setAttribute('value', 'new value')
which will actually affect any form.reset()
that is called after.