UNPKG

altinn-designsystem

Version:

Altinn Design system based on Pattern Lab.

12 lines (11 loc) 294 B
/* globals $ */ var questionnaireInteraction = function() { $('.a-trigger-question').each(function() { $(this).find('input').on('change', function() { $(this).parent().parent().parent() .parent() .next() .css('display', 'block'); }); }); };