How to use continue in jQuery each() loop?

后端 未结 4 1662
悲&欢浪女
悲&欢浪女 2021-01-29 20:13

In my application i am using AJAX call. I want to use break and continue in this jQuery loop.

$(\'.submit\').filter(\':checked\').each         


        
4条回答
  •  囚心锁ツ
    2021-01-29 20:34

    return or return false are not the same as continue. If the loop is inside a function the remainder of the function will not execute as you would expect with a true "continue".

提交回复
热议问题