chisoftltd / jquery-star-rating-plugin

Automatically exported from code.google.com/p/jquery-star-rating-plugin
0 stars 0 forks source link

Unable to set current rating via javascript (placed inside the document`s body) #66

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.create rating control (as described in manuals, with this step there are no 
problems, it is displaying and behaving predictably) 
2.inside the 'body' tag the java script is placed, like this:
<script ...>
   $('input.star').rating('select', 3);//(star is the name for the inputs).
</script>
What is the expected output? What do you see instead?
I expected to get a 3 stars signed. The same function assigned to the button`s 
onclick event works as expected. the problem, to my mind, exactly in that 
fact,that the script is placed directly on the page. May be it start working 
before rating control initialized, or smth like that.

What version of the plugin/jQuery are you using?
PLUGIN VERSION:3.13
JQUERY VERSION:1.4.1

On what browser(s) or operating system? Win7 x86
BROWSER(S):IE 7,6

Please provide a link to where the problem can be observed:
URL:

Feel free to provide any additional information below.

Original issue reported on code.google.com by Muhi...@gmail.com on 14 Sep 2010 at 9:59

GoogleCodeExporter commented 8 years ago

Original comment by diego.a...@gmail.com on 23 Feb 2013 at 5:12