preventDefault
Also written: e.preventDefault()
An event method that stops the browser's own action, such as reloading the page on form submit or following a link.
Also written: e.preventDefault()
An event method that stops the browser's own action, such as reloading the page on form submit or following a link.