【发布时间】:2014-04-04 21:46:22
【问题描述】:
有没有办法在引导弹出窗口中添加星级?
我试过这样做但我没有得到计数 -
代码 -
$('#member1').popover({
html: true,
placement: 'bottom',
content: function() {
return $($(this).data('contentwrapper')).html();
}
}).click(function() {
$('.star').each(function(el) {
$(this).raty('destroy');
$(this).raty({
starOff : 'http://wbotelhos.com/raty/lib/images/star-off.png',
starOn : 'http://wbotelhos.com/raty/lib/images/star-on.png',
start: $(this).attr('data-rating')
});
});
});
有没有更好的解决方案?
我想要这样的结果 -
【问题讨论】:
标签: jquery css twitter-bootstrap twitter-bootstrap-3