-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
ASP.NET jQuery Cookbook (Second Edition) - Second Edition
By :
Consuming a WCF service is similar to consuming a web service, as discussed in the previous recipe. In this example, we will redo the previous recipe, but this time, using a WCF service. The constructs used in this example are summarized in the following table:
|
Construct |
Type |
Description |
|---|---|---|
|
|
jQuery selector |
This selects an element based on its ID. |
|
|
jQuery selector |
This selects all elements with the specified HTML tag. |
|
|
jQuery function |
This posts an Ajax request to the server with the set options. |
|
|
jQuery method |
This inserts content at the end of each matched element. |
|
|
jQuery event |
This is fired when you click on an element. It corresponds to the JavaScript |
|
|
jQuery method |
This prevents the default action of the event from being triggered. |
|
|
jQuery event binder |
This triggers the |
Change the font size
Change margin width
Change background colour