7 Sep 2016

jquery中 $.each 和for 怎么终止本次循环

1、for可以使用continue终止本次循环,使用break终止整个循环。

2、而在$.each中则使用return true终止本次 ,return false终止整个循环。


Tags:
Stats:
0 comments


Share: