Note that there are some explanatory texts on larger screens.

plurals
  1. POJquery star rating plugin for decimal rating
    primarykey
    data
    text
    <p>I am using a jquery star rating plugin from <a href="http://www.fyneworks.com/jquery/star-rating/#tab-Testing" rel="nofollow">http://www.fyneworks.com/jquery/star-rating/#tab-Testing</a>. I would like to use decimal star rating for my application. So I am using </p> <blockquote> <p>Test4 Half Stars and Split Stars</p> </blockquote> <p>The html code is as below.</p> <pre><code>&lt;input class="star {split:2}" type="radio" value="0.5" name="test-4-rating-3" /&gt; &lt;input class="star {split:2}" type="radio" value="1.0" name="test-4-rating-3" /&gt; &lt;input class="star {split:2}" type="radio" value="1.5" name="test-4-rating-3" /&gt; &lt;input class="star {split:2}" type="radio" value="2.0" name="test-4-rating-3" /&gt; &lt;input class="star {split:2}" type="radio" value="2.5" name="test-4-rating-3" /&gt; &lt;input class="star {split:2}" type="radio" value="3.0" name="test-4-rating-3" /&gt; &lt;input class="star {split:2}" type="radio" value="3.5" name="test-4-rating-3" /&gt; &lt;input class="star {split:2}" type="radio" value="4.0" name="test-4-rating-3" /&gt; &lt;input class="star {split:2}" type="radio" value="4.5" name="test-4-rating-3" /&gt; &lt;input class="star {split:2}" type="radio" value="5.0" name="test-4-rating-3" /&gt; </code></pre> <p>The script is as below.</p> <pre><code>$('.star').rating({ split: 2, callback: function(value, link){ alert(value); } }); </code></pre> <p>Please suggest me how to use {split:2} and how to get the rated value when the stars get clicked. The work will be more appreciale.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload