A 5 star rating control is a useful feature when you need to review an item, such as a book, movie, product, and so on. In this example, let's use jQuery to create this application as an ASP.NET User Control. The constructs used in this example are as follows:
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 object |
This refers to the current jQuery object. |
|
jQuery selector |
This selects an element with the specified attribute ending with the |
|
jQuery event |
This is fired when you click on an element. It corresponds to the JavaScript |
|
JavaScript function |
This returns the index of the first occurrence of the |