Don't understand how to post a value

Feb 6, 2013 at 11:09 AM
I tried a different plugin before that replaced radio buttons with stars, and that way it was easy for me to send the value in a form ( I need to add the rating to a database)
That plugin was giving me problems, so I'm trying this one which looks great, but I'm not sure how to post the rating value if there is no input.
Can I get a simple explanation? I'm kind of new to jQuery...

Thanks
Coordinator
Feb 6, 2013 at 11:35 AM
If you want you can bind the rateit control to a hidden input field. This way when your page submits the form the values are sent to the server. Much like how your old rating control worked.
Please have a look at http://www.radioactivethinking.com/rateit/example/example.htm

See for example 2a and 2b, instead of using select or range you can put a hidden field.

If you want to send the rating using Ajax have a look at example #11.

If you want more info, please put up a jsfiddle and then I can help you with the code.