radika godiyal

radika godiyal

  • NA
  • 9
  • 5.4k

calling web service in asp.net using jquery

Mar 20 2015 1:51 AM
I am trying to call the web service web method using jquery ajax. But i dont what is the error in the following jquery script. can any one find the error and give the correct solution. Thanks in advance

$.ajax({
type: "POST",
contentType: "application/json",
url: "WebEmployee.asmx/employeeDetails",
success: function (data) {
//sucess function
},
error: function () {
//error
}



Answers (2)