jQuery Rating Setup

The Rating widget allows you to select a visual representation of a value, usually in a assessment form or scenario.
In order to properly render it on the page, you need to:
1. Include references to all required scripts. Make sure you include the CSS file for your preferred theme.
2. Add a DIV element for which to initialize the Rating functionality.
3. Initialize the widget.

<!DOCTYPE html>
<title>Shield Rating</title>
<meta charset="utf-8" />

<link rel="stylesheet" type="text/css" href="css/light/all.min.css" />
<script src="js/jquery-1.10.2.min.js" type="text/javascript"></script>
<script src="js/shieldui-all.min.js" type="text/javascript"></script>


<div id="rating"></div>

<script type="text/javascript">
    $(function () {
              max: 7,
              step: 1,
              value: 3,
              markPreset: false


To see an example of the control in action, along with all the required code, please refer to the following example.