I have a huge shape with many flags. In a specific area, I show the total that comes from the values โโof checked flags. I would like to display all the headers or alt of the checkboxes, as well as in a specific area (div) below my total. preferably using jQuery.
[SOLVED] This is what I expected. Finally decided:
$("input[type='checkbox']:checked").each(function(){ var checkAltValue = $(this).attr("value"); $('div#WHATEVER_DIV_ID').append(checkAltValue) });
You can also find better alternatives. Thanks guys for the violin examples.
source share