Using step: 1, rateit still allows half-point ratings

Apr 2, 2012 at 8:37 PM


Thanks for the wonderful plugin. However, I am having an issue when building the rating starts by javascript invocation. Setting the property, "step", still results in half-star selections, which I do not want; I only wish to allow the user to select whole-point values. When I select a half-star, it does not show the textual description of the value being selected. I am using jQuery 1.7.1. As per the docs, it's a simple thing that I am setting up the rateit plugin:

$('.company_rating').rateit({ min: 1, max: 5, step: 1 });

Is this a jQuery thing, or a rateit thing? Thanks!!

Apr 2, 2012 at 8:39 PM
I will have a look at it tomorrow.
Apr 2, 2012 at 8:52 PM

Thanks, gidon!

I also just noticed this error when trying to use any kind of backing field: 

Uncaught TypeError: Cannot read property 'nodeName' of undefined

And I just confirmed that setting options via the data-rateit- attributes in the DIV element allow me to only rate on a whole-point scale, eg:


Thanks again!!

Apr 3, 2012 at 1:26 PM
What browser are you using? I cannot reproduce your bug.
Oct 22, 2012 at 10:25 AM

The same problem occurs also to my project

Oct 22, 2012 at 11:31 AM

Could you give me a link?