Entries:
Comments:
Posts:

Loading User Information from Channel 9

Something went wrong getting user information from Channel 9

Latest Achievement:

Loading User Information from MSDN

Something went wrong getting user information from MSDN

Visual Studio Achievements

Latest Achievement:

Loading Visual Studio Achievements

Something went wrong getting the Visual Studio Achievements

Exterminating Common jQuery Bugs

Download

Right click “Save as…”

jQuery is so easy to use and thankfully abstracts many of the cross-browser concerns we used to labor over years ago. However, as with any library there are a common set of bugs that tend to crop up the more you use it. This session aims to help equip developers with the appropriate knowledge and tools to exterminate many common bugs seen in jQuery code. For each topic that is covered we will start with a piece of code that has a jQuery bug, then identify what the bug is, explain why it is happening, and then proceed to explore various techniques to exterminate the bug. Some bugs have a simple fix, whereas other bugs have numerous ways you could look at solving the problem. These solutions can range from simple to advanced concepts. By exterminating bugs in multiple ways it will help expose some of the newer and more advanced features of jQuery that aren't as widely known. Some of the bugs that we will address involve dealing with synchronous and asynchronous code, uncovering some possibly confusing aspects of the $.each method, explaining why and how you might have killed event delegation, looking into weird formatting issues when dealing with JSON and object literals, discussing the confusion of the jQuery wrapper versus the native DOM element, explaining the difference between commonly confused jQuery methods, uncovering why some animations have a mind of their own, determining when several ajax calls have finished, and much more. As you might have noticed some of the examples listed above aren't necessarily jQuery specific, but since the library is JavaScript there are many core concepts of JavaScript that are necessary to understand when using jQuery.

Follow the Discussion

Remove this comment

Remove this thread

close

Comments Closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums,
or Contact Us and let us know.