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

1. 跳出each循环.

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

posted @ 2010-04-28 16:19  eastday  阅读(224)  评论(0编辑  收藏  举报