How to skip to next iteration in jQuery.each() util?

Posted by Josh on Stack Overflow See other posts from Stack Overflow or by Josh
Published on 2009-01-26T22:14:14Z Indexed on 2010/05/19 9:00 UTC
Read the original article Hit count: 247

Filed under:
|
|

I'm trying to iterate through an array of elements. jQuery's documentation says:

jquery.Each() documentation

Returning non-false is the same as a continue statement in a for loop, it will skip immediately to the next iteration.

I've tried calling 'return non-false;' and 'non-false;' (sans return) neither of which skip to the next iteration. Instead, they break the loop. What am i missing?

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about iteration