Uncaught ReferenceError: grecaptcha is not defined

前端 未结 6 1662
耶瑟儿~
耶瑟儿~ 2020-12-16 10:05

I am using recaptcha v2

I am getting the following error occasionally (sometimes i don\'t get error and sometimes i do get it)

Uncaught          


        
6条回答
  •  忘掉有多难
    2020-12-16 11:03

    Recaptcha has a onload callback that will run once recaptcha is loaded. Place your code inside that callback function.

    https://developers.google.com/recaptcha/docs/display

    
    
    

提交回复
热议问题