We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When set properity "ReadOnly = true",I can't set value by this method "$ ('# star'). Raty ('score', number);" Can I set value like '<input readonly>'
HTML: <div id="star_one"></div> <div id="star_two"></div>
<div id="star_one"></div> <div id="star_two"></div>
JavaScript:
$(function(){ $("#star_one").raty({ readOnly : true, }); $("#star_two").raty({ click: function(score, evt) { $("#star_one").raty("score",score);//Unable to assign a value }); });
The text was updated successfully, but these errors were encountered:
do just like this? $("#star_one").raty("readOnly",false).raty("score",allScore).raty("readOnly",true);
$("#star_one").raty("readOnly",false).raty("score",allScore).raty("readOnly",true);
Sorry, something went wrong.
Hi,
Yes, you need to turn of the readOnly first, so you'll be able to do that.
readOnly
No branches or pull requests
When set properity "ReadOnly = true",I can't set value by this method "$ ('# star'). Raty ('score', number);"
Can I set value like '<input readonly>'
HTML:
<div id="star_one"></div> <div id="star_two"></div>
JavaScript:
The text was updated successfully, but these errors were encountered: