I’ve seen this done too many times, even by myself. It’s about time people learn how to format their jQuery the correct way. In this article I’m going to give you a couple bad examples and a couple good examples of jQuery code.
Note: This article is meant to show you a couple possible ways to better format your jQuery code. You should take the examples and modify them to work with your own coding style, as long as that doesn’t mean placing everything on one line.

Posted on December 14th, 2009 at 11:53 am by admin
0