var checkedString = $('input:checkbox:checked.name').map(function() { return this.value; }).get().join();