.each()
Description:
Begin a parallel loop running for all selected elements at once.
- - no parameters -
In the instant case all methods in the jQuery chain are invoked in parallel – step by step on each element.
Usage pattern
Examples with the parallel each-loop
Example #15: enable continue button only after making choices
In this example the continue button should get enabled only if for each choice the user has selected some value.
The used parallel .each()..all() loop waits for each line until some radio input is selected. Any order of making choices is allowed.
⇒