Star rating plugin (set multiple attributes not working)
I'm using the fyneworks plugin and it's driving me a little crazy. I just want to set the ratings to readOnly and display the avg rating from my server. I can do one or the other, but I can't manage to do both. There's a demo on the site which shows an example of such functionality, but it doesn't开发者_开发问答 display the code and I've had annoying time trying to look through their many js files.
$('.star').rating({readOnly:true, select:{{score}} });
I've tried various quoting iterations without any success. I also tried to set disabled property on the html forms
What gives?
精彩评论