Hacker News new | past | comments | ask | show | jobs | submit login
Fixing These jQuery: basic approaches to debugging jQuery and JavaScript code (fixingthesejquery.com)
40 points by tilt on April 13, 2012 | hide | past | favorite | 4 comments



It should probably be mentioned in the slides that console.log will break IE. Use log (not builtin) if you want to be safe: http://paulirish.com/2009/log-a-lightweight-wrapper-for-cons...


This was awesome... made me remember every single facepalm I experienced while learning jquery. :)

With the caveats from the previous comments, I'd recommend this to every web developer-in-training. Thanks for putting this together; this could save many people many hours.


As an aside, one of the slides discusses using jQuery "live" method - This was deprecated with jQuery 1.7 http://api.jquery.com/live/ Use ".on" instead.


Meh, I'll just stick to alerts. It's been working since the beginning of time... 5 years.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: