Unobtrusive JavaScript - 18
- Posted: Aug 06, 2012 at 10:30 AM
- 18,734 Views
- 3 Comments
Loading User Information from Channel 9
Something went wrong getting user information from Channel 9
Loading User Information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
Right click “Save as…”
Writing unobtrusive JavaScript is considered a best practice by most developers. In this lesson Bob explains some core ideas as well as three techniques that can help you write code to make your JavaScript application more accessible and maintainable while avoiding errors.
Already have a Channel 9 account? Please sign in
Follow the Discussion
Oops, something didn't work.
What does this mean?
Following an item on Channel 9 allows you to watch for new content and comments that you are interested in. You need to be signed in to Channel 9 to use this feature.What does this mean?
Following an item on Channel 9 allows you to watch for new content and comments that you are interested in and view them all on your notifications page.sign up for email notifications?
Re-opening this closed thread ...
Dear Mr. Bob
Today April 13, 2013 I finished the 21 lessons with the exercises. I wrote all the HTML and JavaScript code and it all run well with one exception. In Lesson 17. Unobtrusive JavaScript for some unknown reason version jQuery-1.9.1.js did not work. Version jQuery-1.7.1.js worked fine. It took me some time checking my coding looking for mistakes that I could have made, but I found non. So I decided to use the same version you used and it worked fine. I hope you can help with this. Any way Thanks for the good lessons and Best Wishes.
@Ahmed Nasry: *Sigh* .. toggle() was deprecated in 1.8:
http://api.jquery.com/category/deprecated/
And here's a good thread that looks for an alternative:
http://stackoverflow.com/questions/2459153/alternative-to-jquerys-toggle-method-that-supports-eventdata
Hope that helps! Hard to avoid changes in the API like this.
Remove this comment
Remove this thread
close