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

rating.js is a really small jQuery plugin which lets you render star rating controls using text fields and CSS image sprites.

Rating star-rating

Documentation

rating

jquery rating simple & easy

  1. Include necessary JS and CSS files

         <script type="text/javascript" src="rating.js"></script>      <link rel="stylesheet" type="text/css" href="rating.css" /> 
  2. Create a text box element (the class "rating10" contain a num "10", this will display 10 starts)

         <input type="text" class="rating rating10" /> 
  3. Fire plugin using jQuery selector

        $(function ()      {          $('.rating').rating();      }); 
  4. When form submit, You can access these values in the server-side script using the $_POST (PHP), Request.Form (Asp or Asp.net).

  5. view the demo http://www.chukeer.com/plus/rating/example.html


You May Also Like