PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Moderator: General Moderators
mike11mac11
Forum Newbie
Posts: 1 Joined: Wed Mar 05, 2014 1:50 am
Post
by mike11mac11 » Wed Mar 05, 2014 1:56 am
I'm looking to add this code into my wordpress site. How would i go about making this work?
Code: Select all
$(document).ready(function(){
$(".stars").rating({
php : 'path/to/manager.php',
skin : 'skins/skin.png'
});
});
Celauran
Moderator
Posts: 6427 Joined: Tue Nov 09, 2010 2:39 pm
Location: Montreal, Canada
Post
by Celauran » Wed Mar 05, 2014 8:40 am
Nowhere near enough information here for us to answer that. What is rating()? What isn't working?
jangmi
Forum Newbie
Posts: 11 Joined: Sat Mar 08, 2014 7:39 am
Post
by jangmi » Sat Mar 08, 2014 8:00 am
You can try with this code:
Code: Select all
jQuery(document).ready(function(){
jQuery(".stars").rating({
php : 'path/to/manager.php',
skin : 'skins/skin.png'
});
});