Refresh the new reCAPTCHA client side via jQuery/JavaScript

1,287 views
Skip to first unread message

Tahir Khalid

unread,
Dec 17, 2014, 12:42:54 PM12/17/14
to reca...@googlegroups.com
Hi,

Does anyone know how to manually refresh/reload the reCAPTCHA widget client side? specifically in a Razor View (the widget is being rendered via a C# HtmlHelper extension into the appropriate html to display the widget.

I tried grecaptcha.reset() which seems to cause some access errors in the reCAPTCHA script.

Thanks,

T

Tahir Khalid

unread,
Dec 18, 2014, 7:09:12 AM12/18/14
to reca...@googlegroups.com
grecaptcha.reset();

The above appears to work however IE doesn't quite like the Google script (not surprise there with IE misbehaving).

Cheers,

T
Reply all
Reply to author
Forward
0 new messages