$.ajax({ type: "POST", url: ServiceUrl, data: JSON.stringify(Searchcus), contentType: ContentType, dataType: DataType, processdata: ProcessData, success: function (result) { // alert(JSON.stringify(result)); /* if (result.SearchCustomerDetailsResult[0] !== null) { $.each(result.SearchCustomerDetailsResult, function (index, value) { CusSearchResult += value.CustomerName; /* CusSearchResult += "<tr>"; CusSearchResult += "<td>" + value.CustomerName + "</td>"; CusSearchResult += "<td>" + value.EmailID + "</td>"; CusSearchResult += "<td>" + value.ePostID + "</td>"; CusSearchResult += "<td>" + value.IDNo + "</td>"; CusSearchResult += "<td>" + value.PhoneNo + "</td>"; CusSearchResult += "<td>" + value.IDType + "</td>"; CusSearchResult += "</tr>"; CusSearchResult += value.CustomerName; CusSearchResult += value.EmailID; alert(CusSearchResult); }); // CusSearchResult += "<tr><td style='height:30px;' colspan='7' align='center'>No data found</td></tr>"; } else { // CusSearchResult += "<tr><td style='height:30px;' colspan='7' align='center'>No data found</td></tr>"; } },
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)