Skip to content

Instantly share code, notes, and snippets.


jamigibbs/callbacks.js Secret

Created Jun 11, 2019
What would you like to do?
var sitekey = null;
var hostUrl = null;
var onloadCallback = function () {
grecaptcha.render('widget1', {
'sitekey': sitekey,
'callback': grecaptchaRenderCallback
function grecaptchaRenderCallback(res) {
action: "checkCAPTCHAState",
isValid: res ? true : false
}, '*');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.