Even though some of the code within the library is wretchedly poor and wrongheaded, the library does have the virtue of working on the subset of browsers that the jQuery devs support, which covers almost every user in the world. Almost all cross-browser bugs are catered for in almost all cases.
Of course, when you find something that doesn't work, or that uncovers one of jQuery's numerous subtle flaws, it's a simple matter to drop back to straightforward DOM scripting; so for the most part, one might as well use jQuery until one finds something for which it isn't working, then continue using the bits that do work alongside your own code for the bits it can't handle.
I prefer to do things for myself, but that's only because I knew how to deal with all the stuff that jQuery deals with before jQuery was ever created. I still recommend it to clients as the easiest way of creating a maintainable solution.
YMMV and so on
![Smile](https://forums.contractoruk.com/core/images/smilies/smile.png)
Leave a comment: