I have a huge form with many check-boxes. In a specific area I am displaying a total amount that occurs from the values of the checked check-boxes. I would like to display all the titles or alt of the checked check-boxes as well in a specific area (div) below my total amount. preferably with JQuery.
[SOLVED] This is what I expected.. Finally solved:
$("input[type='checkbox']:checked").each(function(){
var checkAltValue = $(this).attr("value");
$('div#WHATEVER_DIV_ID').append(checkAltValue)
});
You can find better alternatives below as well. Thanks guys for the fiddle examples..