Anytime we start a mobile project, we always look for ways to use jQuery. I don’t think I need to explain the awesomeness that is jQuery, but I wanted to write this blog post to discuss how we are using jQuery for mobile and offer up a few recommendations, even though their recent deletion of all of the jQuery plugins is a bit embarrassing, we are still all about jQuery.

If you need to do DOM manipulation for the mobile web, jQuery is a great option. Hell, even if you want to do DOM manipulation in a native app, jQuery is still a great solution.

My biggest complaint is the size of the library. Even when it is minified and GZIPPED, it is still 31kb. That is impressive for the desktop web, but in my opinion it is not sufficient for the mobile web where latency is priority #1. 

I found a great resource that has the vast majority of the functions that make jQuery great at the fraction of the file size. It is called jQuip and it is available on Github. It reduces the file size from 31KB to 6KB. Keep in mind this does not contain all of the functionality of the official jQuery, but 90% of it (what it actually contains is listed in detail on the link above). Their goal is to create modules that allow you the developer to include only the functions you need which will allow you to significantly decrease the file size of the included libraries.

This is one of those projects you will want to keep an eye on. They are onto something.