亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

html5 show hide
扔個(gè)三星炸死你
扔個(gè)三星炸死你 2017-06-28 09:22:14
0
2
987

html5How to click on a list item, the question will be displayed below the item, click on the question, and the answer will be displayed below the question? Click the question again to hide the answer.

扔個(gè)三星炸死你
扔個(gè)三星炸死你

reply all(2)
我想大聲告訴你

Use JS to control the style. If the area you want to change is in the displayed state, change it to the hidden state. If it is hidden, change it to the displayed state. Use display:none

學(xué)習(xí)ing

<style>
.hidden{display:none;}
</style>
<p class="liebiao">所有問題</p>
<ul class="list_ul hidden">

<li>
    <p>問題一</p>
    <p class="answer hidden">問題答案</p>
</li>

</ul>
$(".liebiao").click(function(){

$(".list_ul").show();

});
$(".list_ul li").click(function(){

$(this).find(".answer").toggle();

});

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template