This is probably the best way I’ve seen to see if a checkbox is checked or not on a click event…
Some more awesome jQuery checkbox reference material: http://gaskell.org/determining-if-a-checkbox-is-checked-with-jquery/
Frequently, I am composing css selectors for jQuery dynamicly and need to escape special characters. Especialy in CakePHP when you are trying to get all inputs with a name like “data[Contact][firstName]”.
Karl Varga has a solution – http://kjvarga.blogspot.com/2009/06/jquery-plugin-to-escape-css-selector.html