A javascript method to be executed on the client when a user clicks the control.
The method specified is passed three parameters in this order: the ClientID, RatedID, and the clicked rating. Returning false will cancel the click and prevent the user from changing the rating, while returning true will allow it to continue as normal.
Here is an example javascript function handling this client-side event:
function handleClick (clientID, ratedID, rating)
{
var img = document.getElementById(ratedID + "_img");
img.src = "/images/rating_" + rating + ".jpg";
return true;
}
SlickRater Class | KrispWare Namespace