transfer lab javascript
unknown
javascript
a year ago
384 B
5
Indexable
Never
$(function() { $('main > div').on('click', '.modal-body > form :checkbox', function(event) { let form = $(this).parents('form'); let paramContainer = form.children().eq(5); let btnDiv = form.children().eq(6); paramContainer.toggleClass('d-none'); btnDiv.children().toggleClass('d-none'); }); });