jquery raty require rating
<p>I'm trying to figure out how to get the jquery Raty plugin required. Does anyone one know of an easy way just to make sure the user has clicked a star. if anyone need to see anyone part of code please ask me. I'm not to great with jquery yet so please be detailed and thank you. </p>

<pre><code>    $rates.raty({
        half: false,
        target : '#add_post_rating',
        hints: pixreviews.hints,
        path: path,
        targetKeep : true,
        //targetType : 'score',
        targetType : 'hint',
        //precision  : true,
        score: default_rating,
        scoreName: 'pixrating',
        click: function(rating, evt) {

            $('#add_post_rating' ).val( '' + rating );
            $('#add_post_rating option[value="' + rating + '"]' ).attr(  'selected', 'selected' );

        },
        starType : 'i'
    });
</code></pre>