var data = $("#searchForm").serializeJson(); var params = ""; $.each(data, function (i, v) { params = params + i + "=" + v + "&" })