The people at Sitepoint just posted this great post about writing more efficient jQuery selectors. Very useful if you don’t know a lot about code and you are starting to use jquery in your environment. Their post is not about SharePoint, but the tips can be used in your SharePoint jQuery code.
Their 5 tips:
– Use and ID if possible (not that easy with the terribly long ID’s in SharePoint)
– Avoid selecting by class only
– Keep it simple
– Increase specifity from left to right
– Avoid selector repetition