A very useful jQuery tip which I've picked up, but also noticed that isn't widely known is to do with the common document.ready function. The old way to do it is like this:
$(document).ready(function() {
});
This method is preferred by some developers, because they see it as being more expressive: you are writing a function to be [...]