Code: Select all
<script type="text/javascript">
function post_rating(value) {
$.get('/scj/tube/index.php',
{
'content_id': '<!--GALLERY_MD5-->',
'action': 'rating',
'rating': value
},
function(data) {
$('#rating_div').html('Thank you!');
}
);
}
</script>