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

thumbs.js is a really simple jQuery plugin for creating a Like/Dislike voting system with thumb icons to rate your posts, articles or products.

Rating

Documentation

NPM

Simple jQuery plugin

npm version

Simple jQuery plugin rating.

Install

$ bower i jquery.thumbs.js 

or

$ npm i jquery.thumbs.js   

You can see example in action

Simple example

$(function () {         $('.js-rating-simple').thumbs(); }) 

Extended example

$(function () {         $('.js-rating').thumbs({             onLike: function (value) {                 console.log('Like ' + value);             },             onDislike: function(value) {                 console.log('Dislike ' + value)             }         }); }) 

You May Also Like