Forms
Rating
Rating Plugin works by transforming a standard select field into a rating widget.
Requirements
<script src="js/vendor/jquery.barrating.min.js"></script>
Example
Javascript
jQuery('#ratingCSIconInteractive').barrating();
Html
<div> <label class="d-block form-label">Interactive</label> <div class="br-wrapper br-theme-cs-icon"> <select name="rating" autocomplete="off" data-initial-rating="0" id="ratingCSIconInteractive"> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> </select> </div> </div>
More Examples
You may find more examples in
Interface.Forms.Controls.Rating.html
file which is initialized by js/forms/controls.rating.js.