Feb 17, 2013 at 4:28 PM
Edited Feb 17, 2013 at 8:20 PM
Great plugin. I am using rateit in a custom wordpress theme, and am having a problem using the rateit() function.
I've created a number of rateit objects at load time like:
<div class="rateit" id="resRatingAverage" data-rateit-value="0" data-rateit-ispreset="true" data-rateit-readonly="true"></div>
This works great. However, when trying to do something like:
I am getting: TypeError: Object [object Object] has no method 'rateit'
The same happens if I try to dynamicially create a start rating like:
This is strange as I know the function works, as the star ratings created at load time work perfectly. I've been able to get what I am trying to accomplish done in fiddles, and even via js console on your demo page. I'm hoping I am just missing something, but
also fear there may be a conflict as this project has a lot of JS stuff I didn't write.
Any thoughts would be greatly appreciated.