With jQueryUI toggleClass() method.