rating
jquery rating simple & easy
-
Include necessary JS and CSS files
<script type="text/javascript" src="rating.js"></script> <link rel="stylesheet" type="text/css" href="rating.css" />
-
Create a text box element (the class "rating10" contain a num "10", this will display 10 starts)
<input type="text" class="rating rating10" />
-
Fire plugin using jQuery selector
$(function () { $('.rating').rating(); });
-
When form submit, You can access these values in the server-side script using the $_POST (PHP), Request.Form (Asp or Asp.net).
-
view the demo http://www.chukeer.com/plus/rating/example.html