$.ajax({
url: "http://url",
data: "rq=login&spmg="+spmg+"&chkbpk=chkbpkyorn&esc="+esc+"&ss="+ss+"&pw="+pw+"&channel=channel",
type: "POST",
contentType: "application/json; charset=utf-8",
datatype: "json",
success: getResponce,
});
function getResponce(responseText) {
var resObj = $.parseJSON(responseText);
var c = responseText.d;
} ...
Go to the complete details ...