['$(document). ready(function() {', "$('#select'). click(function() {", 'var values = $(\'input[type="checkbox"]:checked\'). map(function() {', 'return $(this). val();', "}). get(). join(',');", 'document. body. append(values);']