Google reCAPTCHA issue while loading same popup twice

229 views
Skip to first unread message

Nitin Godhani

unread,
Nov 7, 2017, 5:12:03 AM11/7/17
to reCAPTCHA

I am trying to load Google reCAPTCHA in popup. First time it is load properly but while i it is closed and load again it is not loaded.

single page having two link both link are displaying in same popup. First time Google reCAPTCHA load perfectly

code for Google reCAPTCHA


<div id="result"></div>
<div id="result123"></div>

<script type="text/javascript">

     if(yourGlobalVariable==000)
     {
       console.log("call first time");

        $.ajax({
            url: 'http://localhost/nitin/test1',
            type: 'POST',
            success: function(msg) {
              $( "#result" ).empty().append( msg );
              console.log(msg);
            }
        });     
    }

    if(yourGlobalVariable==111)
    {
       console.log("call second time");
        $.ajax({
            url: 'http://localhost/nitin/test1',
            type: 'POST',
            success: function(msg) {
               $( "#result123" ).empty().append( msg );
               console.log(msg);
            }
      });
   }
11-7-2017 11-00-53 AM.jpg
11-7-2017 10-58-12 AM.jpg

srikar reddy

unread,
May 7, 2018, 6:47:01 AM5/7/18
to reCAPTCHA
Hey nitin, were you able to make this work. I am trying to load recaptcha in a popup in siebel. I am running into the same issue. recaptcha does not get loaded when i open the pop up for the second time. we have to reload the page to load recaptcha..interestingly it was working fine till april 20th or so and stopped working afterwards. please let me know if you were able to resolve this. thanks in advance
Reply all
Reply to author
Forward
0 new messages