Hi,
I don't like the submit button, so I want to edit it that the form will be submitted when the user clicks on a star.
Now the javascript is in a button.
I've tried several things, like:
`Adding onclick="submitStars();"
and created a function from the javascript`
`In jquery.rating.js editing:
$.fn.rating.options = { //$.extend($.fn.rating, { options: {
cancel: 'Cancel Rating', // advisory title for the 'cancel' link
cancelValue: '', // value to submit when user click the 'cancel' link
split: 0, // split the star into how many parts?
// Width of star image in case the plugin can't work it out. This can happen if
// the jQuery.dimensions plugin is not available OR the image is hidden at installation
starWidth: 16,
callback: function(){
submitStars();
},
};`
But none worked. Somebody know how I can make this?
Now I have the following code:
`
//
">`
Comments
I have tried to find the topic, but I haven't found anything.
Could somebodey help me a bit?
Grtz