See http://api.jquery.com/toggleclass/