Consuming ASMX and WCF Services using jQuery

Posted by bipinjoshi on ASP.net Weblogs See other posts from ASP.net Weblogs or by bipinjoshi
Published on Mon, 10 Jan 2011 03:10:00 GMT Indexed on 2011/01/10 3:54 UTC
Read the original article Hit count: 281

Filed under:
|
|

In the previous part I demonstrated how jQuery animations can add some jazz to your web forms. Now let's see one of the most important feature of jQuery that you will probably use in all data driven websites - accessing server data. In the previous articles you used jQuery methods such as $.get() to make a GET request to the server. More powerful feature, however, is to make AJAX calls to ASP.NET Web Services, Page Methods and WCF services. The $.ajax() method of jQuery allows you to access these services. In fact $.get() method you used earlier internally makes use of $.ajax() method but restricts itself only to GET requests. The $.ajax() method provides more control on how the services are called.

http://www.bipinjoshi.net/articles/479571df-7786-4c50-8db6-a798f195471a.aspx

© ASP.net Weblogs or respective owner

Related posts about ASP.NET

Related posts about AJAX