Start Free Trial
Come for the solution, stay for everything else.
Start Free Trial
ajax voting buttons not working
I have it working fine on my filecart.com site but it just won't run on this, i must be missing something, please let me know if you can find the problem
8/22/2022 - Mon
For example, replace :
$(".vote") by jQuery("
I miss the dot in the new one
Your code must be right:
$(".vote") and whatever follow after.
Try put your 'vote' class in double quotes in your HTML code and everything should work fine.
If it doesn't, try to remove scriptaculous and leave jQuery. The issue is that prototype (scriptaculous uses prototype) 'hooks' native elements properties and that may make others libraries not to function well.
I suggest to stick to one library and use it. It may help reduce code collision. Try jQuery as leakim971 suggests.
Your help has saved me hundreds of hours of internet surfing.
changing the $ to jQuery and removing scriptaculous did nothing to resolve the problem
This is so strange.
The previous error about the "vote" left.
You've new ones, for example it seems you don't have any
in your page...
My apologies i'm stripping out the code that's not needed, this is why you received an error regarding that other code
to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
see difference between
okay so it was the scriptaculous conflicting, but how do I keep both?
replacing $(".vote") by jQuery(".vote") does not make it work
ASKER CERTIFIED SOLUTION
Log in or sign up to see answer
Become an EE member today
7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
Plans and Pricing
Certified Expert Program
© 1996-2022 Experts Exchange, LLC. All rights reserved. Covered by US Patent