0 votes
in JavaScript by
How can you check if the event.preventDefault() method was used in an element?

1 Answer

0 votes
by

When we use the event.defaultPrevent() method in the event object returns a Boolean indicating that the event.preventDefault() was called in a particular element.

Related questions

0 votes
asked Jan 9, 2021 in JQuery by SakshiSharma
+2 votes
asked Jul 16, 2019 in JavaScript by Indian
...