Skip to content

Glossary: JavaScript in the Browser

Default action

Also written: default actions

Something the browser does on its own for an event, such as typing a character, following a link or submitting a form. event.preventDefault() cancels it.

Where the book teaches it

Related terms

preventDefaultEvent