Skip to content

Glossary: JavaScript in the Browser

pattern

An attribute giving a regular expression the whole value must match, such as \d{5} for a five-digit zip code. A failure sets validity.patternMismatch.

Where the book teaches it

Related terms

validityinputmode