Text

Jun 21, 2010
@ 12:17 pm
Permalink

Capt. Obvious of JS

In a series of very obvious reasons, which I had completely forgot about, do not try to pass an object containing the key class, for instance in jQuery, to an element, but instead use "class", as in, with quotes. This’ll save you from WebKit parse errors and feelings of shame.

Captain Obvious signing out.