jquery实现点击展开列表同时隐藏其他列表_jquery
![WBOY](/static/front/mobimages/moren/moren.png)
- WBOYOriginal
- 2016-05-16 15:46:031246browse
本文实例讲述了jquery实现点击展开列表同时隐藏其他列表。分享给大家供大家参考。具体如下:
这里使用jquery实现展开、隐藏特效,点击列表标题后该项内容展开,其它项收缩起来,也就是不显示了。个人喜好了,有的喜欢在默认状态下不显示其它选项的内容,这个就是这种情况,仅供参考吧。
运行效果截图如下:
![](http://files.jb51.net/file_images/article/201508/2015810164128998.jpg?2015710164141)
具体代码如下:
希望本文所述对大家的jquery程序设计有所帮助。
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn