var submitform = $('#SearchForm');
var dd = toParsModel(submitform.serializeArray());
function toParsModel(serializeArray) { ///serializeArray=[{name:'name',value:'value'},......] var model = {}; try { for (i = 0; i < serializeArray.length; i++) { var item = serializeArray[i]; model[item.name] = item.value; }; } catch (e) { console.log(e); } return model; }