通过点击之后让隐藏的DIV显示出来
本文链接:https://www.dnwfb.com/1518.html,转载请注明出处。<style>
#list{display:none;}
</style>
<a href="javascript:;" id="All">点击查看 ↓</a>
<div id="list">
<p>这里是要显示的内容</p>
<p>这里是要显示的内容</p>
<p>这里是要显示的内容</p>
<p>这里是要显示的内容</p>
<p>这里是要显示的内容</p>
</div>
<script src="http://www.love0312.com/static/dnwfb/js/jquery.min.js"></script>
<script>
$("#All").on("click",function(){
$("#list").toggle();
})
</script>
评论0