A RetroSearch Logo

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

Search Query:

Showing content from https://webplatform.github.io/docs/dom/HTMLElement/setCustomValidity below:

setCustomValidity · WebPlatform Docs

setCustomValidity

Method of dom/HTMLElementdom/HTMLElement

Syntax
var object = object.setCustomValidity(error);
Parameters error
Data-type
any

String containing a custom message.

Return Value

Returns an object of type DOM NodeDOM Node

Type: HRESULT

This method can return one of these values.

S_OK

Notes Remarks

The following example sets a custom message if you type “fun” into the input field.

Syntax Standards information 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