阅读背景:

单个元素中的两个事件[Jquery]

来源:互联网 

(Sorry for the bad english hahah) I have a span with 'glyphicon-chevron-down' icon, when i click on it, it should show some informations and change the icon to 'glyphicon-chevron-up', and it works fine. So now, my span has the class 'down' removed and I added the 'up' class, ok. But i need another event, for when the user clicks on 'glyphicon-chevron-up', this event should make the reverse of previous (follows the code and the page print):(Sorry for the bad english hahah) I have a span




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: