我想在点击事件中将 Raty 设为只读,但它不起作用:
$('#number').raty({
click: function(score, evt) {
readOnly: true; //it does not work here
$.get(
"../../ajax/test.aspx",
{r:score},
function (data) { alert(data); },
"html"
);
},
scoreName: 'entity.score',
number: 10
});