Hi,
the below code im using in my solution, but when i pass 'data' parameter in ajax calling, im getting the error but without 'data' parameter it's working fine.
can anyone tell me whats wrong with this.quick response appreciated.
var strInput="";
var strSearchType=$('#ddnSearchType').val();
strInput = strInput +"'strSearch':'"+strSearchType+"'";
disableButtons();
//Clear previous results
$("table#tblInfo tbody tr").remove();
//Ajax Call to JSON
$.ajax({
type: "POST",
contentType: "application/json; charset=utf-8",
url: 'widgetJosn.asmx/PerformSearch',
data: "{"+strInput+"}",
dataType: "JSON",
success: parseData,
error: AjaxFailed
});