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.

$('.example .choices li')
  .each().children('input').wait('change').all()
  .$('#continue').fadeIn();
  • Color: red, green, blue
  • Size: XS, S, M, L, XL
  • Textile: wool, hemp, synthetic

Other examples with closed loops

Other examples with context switch

Other examples with each-loops

Other examples with instant loops

Other examples with timeouts