[jQuery] rating plugin: how to pass an extra parameter
Hello,
I have several things that can be rated in one page. As html, I added
an hidden field that contains the id of the element I voted on:
<form action=/url/to/vote method="post" class="rating" title="Average
Rating: 3.4">
<input type="hidden" name="key" value="42" />
<label for="vote" class="avg">Rate Me!</label>
<select id="vote">
<option value="0">0</option>
<option value="1">1</option>
The plugin doesn't use that key item as a parameter to the post, only
the rating choosen.
Is there an option to do something like that ?
What's the proper way of using several ratings on the same page for
different objects (or is this a limitation of the plugin) ?
Thanks in advance,
Xavier