星级选择,评分选择,自定义个数/等级
![星级选择,评分选择,自定义个数/等级 星级选择,评分选择,自定义个数/等级](https://i-blog.csdnimg.cn/blog_migrate/f64f4b494d2a4280b62a1373030540c3.jpeg)
XML/HTML Code
- <div class="rating" data-rating-max="5"></div><br>
- <br>
- <div class="rating" data-rating-max="6"></div><br>
- <br>
- <div class="rating" data-rating-max="7"></div><br>
- <br>
- <div class="rating" data-rating-max="8"></div><br>
- <br>
- <div class="rating" data-rating-max="8"></div><br>
- <br>
- <script type="text/javascript">
- /* place inside document ready function */
- $(".rating").starRating({
- minus: true // step minus button
- });
- </script>