This recipe demonstrates how to access ASP.NET controls using the corresponding HTML tag generated at runtime. We will demonstrate how to use the GridView
control, which generates the table
HTML tag. Each row of the GridView
renders the tr
HTML tag. This example uses the following constructs:
Construct |
Type |
Description |
---|---|---|
|
jQuery selector |
This selects all elements with the specified HTML tag |
|
jQuery object |
This refers to the current jQuery object |
|
jQuery method |
This adds the specified CSS class to each matched element |
|
jQuery selector |
This selects an element with the specified attribute, ending with the string |
|
jQuery selector |
This selects only checkbox elements from the matched elements |
|
jQuery event binder |
This binds a handler to the |
|
jQuery method |
This finds all elements matching the filter |
|
jQuery method... |