jQuery-Form-Validator icon indicating copy to clipboard operation
jQuery-Form-Validator copied to clipboard

Recaptcha after page load jquery

Open mittultechnobrave opened this issue 4 years ago • 0 comments
trafficstars

Hi Team,

@victorjonsson Hope I get some support from this as I found this plugin very helpful.

Currently I am using recaptcha from this plugin like below.

$( document ).ready(function() {  
  
    $.validate({
        
        modules: 'security, sanitize, date',
        scrollToTopOnError: false,
        reCaptchaSiteKey: 'MY_KEY',
        reCaptchaTheme: 'light'
    });
});

And in my HTML <input data-validation="recaptcha" >

And its working as per my requirements.

However, I am having few issues in Google PageSpeed which suggests me to load ReCaptcha after page load.

So I am just wondering is there a way to load this after my page load using this library ?

Any help or suggestion will be highly appreciated.

Thanks in advance.

mittultechnobrave avatar Oct 28 '21 04:10 mittultechnobrave