jQuery each (index, Element) { this = Element } toggleClass (className , [switch]) Ajax: .done (data, textStatus, xhr) .fail (xhr, textStatus, errorThrown) .always ( either one of the above)