Kendo UI for jQuery Rating Overview
The Rating allows to intuitively rate by selecting number of items stars from a predefined maximum number of items.
The Rating is part of Kendo UI for jQuery, a
professional grade UI library with 110+ components for building modern and feature-rich applications. To try it out sign up for a free 30-day trial.
Initializing the Rating
To initialize the Rating, use the <input />
tag.
The number of starts that the widget will render depends on the min
and max
options. Alternatively, this can also be configured by adding min
and max
attributes to the <input />
element of the Rating. If the min
and max
are not set, the widget will render with the default values from 1 to 5.
The following example demonstrates how to initialize the Rating from an existing <input />
element with defined data items.
<input id="rating" name="rating" />
<script>
$(document).ready(function(){
$("#rating").kendoRating();
});
</script>