Hi I am using jquery ajax method to retrieve data. It is working in IE but I am getting data as null in FF and Google chrome. I think the problem is, mozilla cant get 'data', because alert(data) returns null. even I debug in firebug It is showing data is null
My code is
$.ajax({
type: "POST",
url: "http://myserver.com/idpwd.asmx/idpwd",
data: "{ 'userID': '" + $("#usrid").val() + "','password': '" + $("#password").val() + "' }",
contentType: "application/json; charset=utf-8",
dataType: "json",
success: Success,
error: Error
});