There is a Grideview that user can add or remove rows.
Each rows have textbox and dropdown list. now, I want read each row ang get textbox and dropdown value.
I wrote below code:

var ResultArray = [];
$("#grdLayerInfo tr").each(function () {
var field = $(this).find("td input[id*=txtFiled]").val();
var value = $(this).find('td option:selected').val();
ResultArray.push(field, value);
});
alert(ResultArray);
result is:
,,name,String,age,Numeric,,
but I want result like this:
name,String,age,Numeric
What is wrong?