這怎麼可能?繼建設不起作用:除了在jQuery中是否有類似的東西?
$('.multibutton').click(function(event) {
//.. some stuff before
$(this).next('.menu').slideDown("slow");
// hide all other menus except this.next.menu
$('.menu :not(this.next)').hide();
//.. some stuff after
});
謝謝
的方法是...擊鼓聲請... ['。不是()'](http://api.jquery.com/not/) – JJJ
你能解釋一下你正在試圖做的是什麼?僞代碼不是很有幫助。 –
@Juhana:請在評論前查看代碼.. – Gabriel