$('.citeT').click(function(e){
e.preventDefault();
$(this).parent().siblings('ul.select_demo').slideToggle('fast');
});
$(document).click(function(e){
console.log(e.target);
$('.select_demo').slideUp('fast');
});
为什么citeT点击一下会出现然后消失?我已经阻止冒泡了啊

Copyright 2014-2026 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
你用错了,应该是下面这样的