Click here to Skip to main content
14,924,138 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All


I am trying to implement webservices in jquery autocomplete(http://jqueryui.com/autocomplete/#combobox[^]

refer to this ..


Now I am calling my webservices using ajax fucntion
JavaScript
$.ajax({
                   type: "POST",
                   url: "WebService1.asmx?op=GetOwner",
                   data: "{prefixText}",
                   async: false,
                   contentType: "application/json; Characterset=utf-8",
                   dataType: "json


In json format but I am getting

C++
Error ": 500 internal server not found , when we search on text box ...


Please help
Posted
Updated 22-Jan-14 0:58am
v2

1 solution

Try it in fiddler/firebug to see actual result and then try Changing type to GET and data to {prefixText} instead of "{prefixText}"
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900