paint-brush
Three input element properties that I discovered while reading MDNby@stefanjudis

Three input element properties that I discovered while reading MDN

by stefan judis4mSeptember 2nd, 2018
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Recently I was reading <a href="https://hackernoon.com/tagged/twitter" target="_blank">Twitter</a> and stumbled across <a href="https://twitter.com/dan_abramov/status/1035190868876177409" target="_blank">a tweet by Dan Abramov</a>. He shared a short code snippet that caught my eye. It included some JavaScript which accessed an input element from the DOM (<a href="https://developer.mozilla.org/en-US/docs/Web/API/Document_Object_Model" target="_blank">Document Object Model</a>) and read or changed some of its properties. What was exciting and surprising to me was the property <code class="markup--code markup--p-code">defaultValue</code>.

People Mentioned

Mention Thumbnail

Companies Mentioned

Mention Thumbnail
Mention Thumbnail

Coin Mentioned

Mention Thumbnail
featured image - Three input element properties that I discovered while reading MDN
stefan judis HackerNoon profile picture
stefan judis

stefan judis

@stefanjudis

L O A D I N G
. . . comments & more!

About Author

stefan judis HackerNoon profile picture
stefan judis@stefanjudis

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite