1👍
Take a look at this jsfiddle demo. It works fine (well, except that looks like start
should be changed to score
as I understand that way you want to define initial score). Incorrect path to images will not break it at all. Browser will simply show default icon for not available image if path to images is wrong. Not sure what is in {{static_url}}
variable. If it contains something like ‘http://example.com/static’ – you must add a slash after it.
Possible problems – script tag for raty appears before jQuery. Or results of template processing are not available on page when $(document).ready
event happens.
Source:stackexchange.com