开发者

last sibling in jquery?

开发者 https://www.devze.com 2022-12-17 18:34 出处:网络
could some开发者_如何学Cone help me to select last sibling of clicked element in jquery?$(\"#myElement\").click(function() {

could some开发者_如何学Cone help me to select last sibling of clicked element in jquery?


$("#myElement").click(function() {
    $(this).siblings(":last").hide();
});
0

精彩评论

暂无评论...
验证码 换一张
取 消