Jquery 技巧收集..慢慢添加吧..

1. 跳出each循环.

  function findelem() {
        $(".menubar").each(function() {
            if (this.style.display != "none") {
                this.click();
                return false;
            }
        })
    } 

原文地址:https://www.cnblogs.com/eastday/p/1723075.html