JavaScript Rating
Bind to the change event by type: jqxRating Author: http://jqwidgets.com
by jqwidgets
HTML
<link rel="stylesheet" href="https://jqwidgets.com/public/jqwidgets/styles/jqx.base.css">
<script src="https://jqwidgets.com/public/jqwidgets/jqx-all.js"></script>
<link rel="stylesheet" href="https://jqwidgets.com/public/jqwidgets/styles/jqx.energyblue.css">
<div id='jqxRating'></div>
JavaScript
$("#jqxRating").jqxRating({
width: 350,
height: 35
});
$('#jqxRating').bind('change', function (event)
{
var value = event.value;
alert("The value is " + value);
});