This week's book giveaway is in the Java in General forum.
We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line!
See this thread for details.
Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Ajax Captcha

 
santoshkumar savadatti
Ranch Hand
Posts: 95
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Iam using Ambethia recaptcha plugin.But, i need Ajax recaptcha.Hence, to display the recaptcha, i'm using the following in my js.erb:

and my controller code is:

The captcha is displayed.But when the vote button is clicked, nothing happens.If i remove the recaptcha, the voting works fine and displays a success message.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic