var columnKey = "";
$("input[name=eachColumn]").each(function(a,b){
if(columnKey != "" ){
columnKey = columnKey + ",";
}
if($(this).val() != ""){
columnKey = columnKey + $(this).val();
}
});
$("input[name=eachColumn]").each(function(a,b){
if(columnKey != "" ){
columnKey = columnKey + ",";
}
if($(this).val() != ""){
columnKey = columnKey + $(this).val();
}
});