i dont want to toggle class names I want to remove then add code example Example: jquery toggle class $( "#foo" ).toggleClass( 'className', addOrRemoveOptional );