thomasdavis / backbonetutorials

As single page apps and large scale javascript applications become more prominent on the web, useful resources for those developers who are jumping the ship are crucial.
http://backbonetutorials.com
2.3k stars 1.7k forks source link

Depreciated jquery #96

Open Gregory-Phillips opened 10 years ago

Gregory-Phillips commented 10 years ago

Great tut, I have been taking some time working through the video and at 31 min the addition of the New User button is completed. When you reload the page the console log reads: ''' event.returnValue is deprecated. Please use the standard event.preventDefault() instead. ''' In the tut, the jQuery that is used is this one.

<script src="http://cdnjs.cloudflare.com/ajax/libs/jquery/1.8.2/jquery.min.js" type="text/javascript"></script>

I loaded:

//cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.min.js

and the issue is resolved.

Hope that this helps someone else that is following along. And keep up the exceptional work.