[jQuery] loop through elements and stop at first match
Hi
I want to loop through the jquery array of objects,
stop to loop when it finds the first match,
and then continue to loop with another search.
In another language I would set a var found = false;
before the loop and then set it to true in the loop,
but with chaining I'm not sure how to do.
Any idea ?
Olivier