akhanisatyammg / jquery-star-rating-plugin

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

IE serialization does not work because of .attr use vs .prop #122

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. make form 
2. attach stars
3. click on a star.
   note: library line 254: just used 
   control.current.data('rating.input').attr('checked', true);
   this will cause a serialization of the form (in IE only)
   to not recognize the CHECKED='checked', even though you 
   can see it if you view compiled source.

4. Submit Form to a real action (not just to screen).
   -- you will notice IE is lacking rating=x param.

Solution:

line 254: control.current.data('rating.input').prop('checked', true);

What version of the plugin/jQuery are you using?
PLUGIN VERSION: 4.0
JQUERY VERSION: 1.9.1

On what browser(s) or operating system?
BROWSER(S): IE

Original issue reported on code.google.com by charl...@gmail.com on 22 Feb 2013 at 9:50

GoogleCodeExporter commented 8 years ago
Thank you for the detailed report! We've made the changes and you can now start 
using v4.01:
http://jquery-star-rating-plugin.googlecode.com/svn/trunk/jquery.rating.js

Original comment by diego.a...@gmail.com on 24 Feb 2013 at 12:43