Why am I getting "event.returnValue is deprecated..." and how can I rectify it?

B. Clay Shannon picture B. Clay Shannon · Nov 27, 2013 · Viewed 15.8k times · Source

In my web site, when I F12 from the browser, I see in the console (Chrome Dev Tools) the error/warning, "event.returnValue is deprecated. Please use the standard event.preventDefault() instead."

Yet I search my project for "event.returnValue" and it turns up no instances of that string.

Assuming it is some Microsoft or jQuery-written code that is causing this, should I do something about it, and if so, what?

Answer

Scary Wombat picture Scary Wombat · Nov 27, 2013

see this ticket

http://bugs.jquery.com/ticket/14320

This seems to be happening in the latest version of Chrome. I guess you can not really do much about it but ignore it.