SyntaxFix
Write A Post
Hire A Developer
Questions
return true not work
return false working
found = false; query = "foo"; $('.items').each(function() { if($(this).text() == query) { found = true; return false; } });