I have this ajax request.
$.ajax({
type: 'Post',
dataType: 'json',
contentType: "application/json; charset=utf-8",
url: 'https://********/***/*******.asmx/Login',
data: "{ userID: '" + userName + "', pwd: '" + password + "' }",
success: successCallBack,
error: failureCallBack
});
Problems is this works fine in older chrome browser. Eg. 20.XX.XX
But it does not work on new chrome browser. Eg. 31.0.1650.57 m
When i remove dataType: 'json',
contentType: "application/json; charset=utf-8", lines in chrome 31.XX browser gives me response as a plain text.
Please help me to figure out how to resolve this issue.
i.e. The web service works fine