展开收起js

/* 展开 */

$(".l_hot_sale_select").on("click",function(){
if($(this).text()=="展开"){
$(this).parents("li").find(".l_hot_sale_select_con").show();
$(this).text("收起");
}else{
$(this).parents("li").find(".l_hot_sale_select_con").hide();
$(this).text("展开");
}

posted @ 2018-03-15 08:58  谢凌  阅读(212)  评论(0编辑  收藏  举报