var name= "";
$("input:checkbox[name='AllElection']:checked").each(function () {
name+= $(this).val() + " ";
});
var name= "";
$("input:checkbox[name='AllElection']:checked").each(function () {
name+= $(this).val() + " ";
});