Hello all,

I installed the star rating plugin, which works great.
Except for one, that my callback is never called. I tried everything,
but still no relief :(

This is my HTML code:

        <div><span class="bold">Stem zelf:</span></div><div>
                                <input name="star2" type="radio"
class="star" {if $currentRating eq 1}checked="checked"{/if}/>
                                <input name="star2" type="radio"
class="star" {if $currentRating eq 2}checked="checked"{/if}/>
                                <input name="star2" type="radio"
class="star" {if $currentRating eq 3}checked="checked"{/if}/>
                                <input name="star2" type="radio"
class="star" {if $currentRating eq 4}checked="checked"{/if}/>
                                <input name="star2" type="radio"
class="star" {if $currentRating eq 5}checked="checked"{/if}/>
                                </div>
                        </div>

Don't mind the smarty code.

Now, for a callback, I use this:

$(document).ready(function() {

$('.auto-submit-star').rating(callback: function(){
    alert('OK');
})
});

But still, nothing happens when clicking the stars.

Help appreciated!

Reply via email to