How to get selected star value in jQyery Raty
<p>I am using <a href="http://wbotelhos.com/raty/" rel="nofollow">Jquery Raty</a> Plugin which is a star rating plugin and its working fine .<br>
Here is my code </p>

<pre><code> $('#star').raty({
            path: '/Content/RatingPlugin/',
            numberMax: 5,
            score: function () {
                return $(this).attr('data-score');
            }
        });
</code></pre>

<p><strong>HTML</strong></p>

<pre><code>&lt;div id="star" data-score="@Model.Company.Rating"&gt;&lt;/div&gt;
</code></pre>

<p>Now there are 2 problem , suppose when my page load @Model.Company.Rating value is <code>4</code> it will show 4 stars on which is right but if any one click on the third star it will off that 4th star and then only 3 stars will be on . I want that if a user click on any star then in javascript I get the value of that star and store that on database but it should not takle effect on user side I mean after clicking of user amount of <code>on stars</code>  will remain same . </p>

<p>If you need any other detail please let me know . </p>

<p>Thanks  in advance . </p>
