In some browsers, such as Google Chrome
, always when in "mexo" in some element of the page, the following message appears:
event.returnValue is deprecated. Please use the standard event.preventDefault () instead
Or:
Use of getPreventDefault () is deprecated. Use defaultPrevented instead
In my Firefox 39, it appears:
The getPreventDefault () method should no longer be used. Instead, use defaultPrevented ..
I am concerned about development whenever I see or hear the word Deprecated or Deprecated .
After all, what causes this message?
Does this refer to the event.preventDefault()
we usually use with eventListener
and / or jQuery
?