preventDefault
The preventDefault()
method of the Event interface tells the user agent that if the event does not get explicitly handled, its default action should not be taken as it normally would be.
The preventDefault()
method of the Event interface tells the user agent that if the event does not get explicitly handled, its default action should not be taken as it normally would be.