So far, all recipes are based on using selectors with ASP.NET web forms. Next, we introduce an example to demonstrate the use of selectors in an ASP.NET MVC application. The constructs used in this example are as follows:
Construct |
Type |
Description |
---|---|---|
|
jQuery selector |
This selects an element based on its |
|
jQuery object |
This refers to the current jQuery object |
|
jQuery selector |
This selects checked input elements |
|
jQuery event binder |
This binds a handler to the |
|
jQuery method |
This gets the CSS property of the first matched element or sets one or more CSS properties for every matched element |
|
jQuery method |
This iterates over the matched elements and executes a function for each element |
|
jQuery method |
This prevents the default action of the event from being triggered |
|
jQuery method |
This returns the HTML content... |