🔔 Alert..!! Get 2 Month Free Cloud Hosting With $200 Bonus From Digital Ocean ACTIVATE DEAL

star.rating.js is a super tiny jQuery plugin for rendering a simple rating system that uses Material Icons as rating stars.

Rating star-rating

Documentation

jquery-star-rating-plugin

Rating plugin jQuery

A simple star rating plugin which uses Googles Materialize Icons.

Demo

A demo can be seen on: http://joost.in/ternet/javascript/jquery-star-rating-plugin, or in the example HTML file.

Requirements

Usage

Add the plugin to your source, call it by using:

$('-your-selector-').addRating(); 

Options

icon : star | favorite 

Star is a star, favorite is a heart

max : 5 

How many stars you want / max rating.

fieldName : 'rating' 

Specific name for the hidden input field.

fieldId : 'rating' 

ID attribute of the hidden input field, so you can retrieve the contents easily.

Override Styles

Change the fill color by overriding the "selected" class in your css.

License

Creative Commons / Free to use or alter - leave the

Creative Commons License
jQuery Star Rating plugin by Joost van Velzen is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Based on a work at https://github.com/jvv/jquery-star-rating-plugin.


You May Also Like