logo

WHY IS IMPORTANT TO LISTEN TO THE CLIENT

This code snippet shows how to call a web api from HTML5 using ajax. I am using JQuery Mobile with HTML5. The cPerson class is case sensitive on the client json side. You must uncomment System.Web.Script.Services.ScriptService in the webservice. A list of persons (1..n) can be returned, in this case only one person is returned. you can then cycle through the list by index. You should use asp.net 4.0 framework on the server.[Learn More ...]
&Links