W3C home > Mailing lists > Public > www-dom@w3.org > January to March 2017

Inconsistencies with .value and .defaultValue properties

From: John Horvath <jhorvath@maxetatech.com>
Date: Fri, 30 Dec 2016 15:21:12 +0000
To: "www-dom@w3.org" <www-dom@w3.org>
Message-ID: <MWHPR17MB1519FB7B00D7C35A02AAFE85BF6A0@MWHPR17MB1519.namprd17.prod.outlook.com>
Please reference my following two StackOverflow posts:

http://stackoverflow.com/questions/40431329/html5-javascript-change-to-defaultvalue-property-injects-value-attribute

http://stackoverflow.com/questions/41398247/html5-javascript-removeattributevalue-removes-defaultvalue-too-why

I'm unclear of why the handling of .value and .defaultValue are inconsistent across various form elements, and think it might be worth standardizing their functionality to prevent confusion.
Received on Sunday, 1 January 2017 16:51:31 UTC

This archive was generated by hypermail 2.3.1 : Monday, 20 February 2017 16:51:54 UTC