Code

Rating jQuery Plugin

Rating jQuery Plugin

About

JM-Rating is a fast and tiny jQuery rating plugin. It can turn any input tag into a nice rating component. You can use Font Awesome, Glyphicons, SVG or any images. It’s easy to style the component with CSS.

Main features

  • Fast and Lightweight (~3K)
  • Easy to use and integrate into any Website
  • Many options to customize by your needs
  • Support of Font Awesome and Glyphicons
  • Support of SVG icons
  • Support of RTL
  • Ready for Bootstrap
  • Example in PHP

jQuery versions supported

  • jQuery >= 1.9
  • jQuery = 2.x
  • jQuery = 3.x

Many options to customize

  • starCount
  • iconType
  • iconTag
  • rateIconClass
  • unrateIconClass
  • componentClass
  • height
  • hover
  • rtl
  • svgShape
  • svgEmptyColor
  • svgFilledColor
  • disabled
  • onInit
  • onClick

Includes complete documentation with samples

If you like this plugin and my support please rate it.

Change Log

v1.3.1 (05-04-2019)
  • Bugfix: supporting IE9/IE10/IE11
v1.3 (04-04-2019)
  • Add new SVG icons (diamond, circle)
  • Add RTL option
  • Change default height from 40px to 1em
  • Add examples in PHP and MySQL
  • Bugfix: value not set after clear action
  • Bugfix: Doesn’t works when using class/tag selector
  • Some code cleanup
v1.2 (16-09-2017)
  • Add SVG icons support
  • Add height option
  • Add actions : clear, enable, disable, update
v1.1 (25-05-2017)
  • Add optional hover effect
  • Add disabled option
v1.0 (25-04-2017)
  • Initial release
by
by
by
by
by
by