Content-Length: 89870 | pFad | http://docs.telerik.com/kendo-ui/controls/rating/get-started

jQuery Rating Getting Started - Kendo UI for jQuery
New to Kendo UI for jQueryStart a free 30-day trial

Getting Started with the Rating

This guide demonstrates how to get up and running with the Kendo UI for jQuery Rating.

After the completion of this guide, you will be able to achieve the following end result:

Loading ...

1. Create an Input Element

First, create an <input> element on the page.

html
<input id="rating" />

2. Initialize the Rating

In this step, you will initialize the Rating from the <input> element. All settings of the Rating will be provided in the initialization script statement and you have to describe its layout and configuration in JavaScript.

html
<input id="rating" />

<script>
    // Target the input element by using jQuery and then call the kendoRating() method.
    $("#rating").kendoRating();
</script>

3. Set the Min and Max Options

You can define the values of the first and the last items through the min and max options.

html
<input id="rating" />

<script>
  // Target the input element by using jQuery and then call the kendoRating() method.
  $("#rating").kendoRating({
    min: 1,
    max: 6
  });
</script>

4. Set the Value of the Rating

You can set the value of the Rating upon initialization.

html
<input id="rating" />

<script>
  // Target the input element by using jQuery and then call the kendoRating() method.
  $("#rating").kendoRating({
    min: 1,
    max: 6,
    value: 3
  });
</script>

Next Steps

See Also









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://docs.telerik.com/kendo-ui/controls/rating/get-started

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy