Having trouble calling a webservice from a specific directory within my project.
The URL I'm trying to access is "~/RA/WebServiceRAOpen.asmx/OpenedRAlistByBranch" but it's not functioning as expected.
$.ajax({
url: "~/RA/WebServiceRAOpen.asmx/OpenedRAlistByBranch",
data: "{ 'ranumber': '" + request.term + "' }",
dataType: "json",
type: "POST",
contentType: "application/json; charset=utf-8",
})
Any suggestions on how to successfully call the URL from a specific directory?