A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://webplatform.github.io/docs/dom/HTMLInputElement/defaultValue below:

defaultValue ยท WebPlatform Docs

defaultValue Summary

Gets or sets the value of the value HTML attribute.

Property of dom/HTMLInputElementdom/HTMLInputElement

Syntax
var defaultValue = inputElement.defaultValue;
inputElement.defaultValue = value;
Return Value

Returns an object of type StringString

The value of the value HTML attribute.

Notes

The value of the property can be changed programmatically, but doing so has no effect on the appearance of the object or the submitted value - if the value property has been changed by a user or by a script. It does, however, change the initial value of the object when the form is reset.

Related specifications
DOM Level 1
Recommendation
See also Related pages Attributions

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4