开发者

Star rating plugin (set multiple attributes not working)

开发者 https://www.devze.com 2023-02-18 12:56 出处:网络
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

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?

0

精彩评论

暂无评论...
验证码 换一张
取 消