How to use jQuery to get the checked checkboxes values, and put it into a textarea immediately?
Just like this code:
&l
Try this one..
var listCheck = []; console.log($("input[name='YourCheckBokName[]']")); $("input[name='YourCheckBokName[]']:checked").each(function() { console.log($(this).val()); listCheck .push($(this).val()); }); console.log(listCheck);