PHP Classes

File: js/rate.js

Recommend this page to a friend!
  Classes of Subin Siby   Francium PHP 5 Star Rating System   js/rate.js   Download  
File: js/rate.js
Role: Auxiliary data
Content type: text/plain
Description: An example file that shows the usage of the JavaScript plugin.
Class: Francium PHP 5 Star Rating System
Record star ratings of items in a MySQL with AJAX
Author: By
Last change:
Date: 8 years ago
Size: 206 bytes


Class file image Download
$(function(){ $(".Fr-star.userChoose").Fr_star(function(rating){ $.post("ajax_rate.php", {'id' : 'index_page', 'rating': rating}, function(){ alert("Rated " + rating + " !!"); }); }); });