10 09/2014 jquery toggle 2 class 最后更新: Wed Sep 10 2014 12:37:50 GMT+0800 if A -> Belse B -> A $('li').toggleClass('a b')