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