var arr = [];
$('.thisPlaceholder').each(function(){
var test = {};
// console.log( $(this) );
if($(this).val()!=""){
if($(this).attr("data-id")!=undefined){
test.id = parseInt( $(this).attr("data-id") );
test.columnName = $(this).attr('name');
test.situation = $(this).val();
}else{
test.columnName = $(this).attr('name');
test.situation = $(this).val();
}
arr.push(test)
}
})