JSFiddle - React, Tailwind, and code Playground
by aflynt
HTML
<input value="admin" id="wait_dev" type="checkbox" autocomplete="off">Administrative
<input value="forms" id="wait_support" type="checkbox" autocomplete="off">Forms
<input value="maintenance" id="wait_branch" type="checkbox" autocomplete="off">Maintenance
<hr/>
<table id="">
<tbody>
<tr class="administrative"><td>Item 1</td></tr>
<tr class="forms"><td>Item 2</td><tr>
<tr class="maintenance"><td>Item 3</td><tr>
</tbody>
</table>
<p class ="result">Hi</p>
JavaScript
/*$(''input[type=checkbox').change(function(){
alert("val="+$(this).val()+"
choice = $('input:checkbox:checked').val();
$('.result').html = choice;
});*/
$('input[type=checkbox]').change(function() {
alert("val="+$(this).val());
});