jQuery UI switchClass() method doesn\'t switch class, rather it performs some undesired animations and the class remains the same as the original one when I use
switchClass()
please check you are added the jQueryUi file