WebSite X5Help Center

 
Axel  
Axel  
User

Help from kolasim.... with a jquery to refresh captcha  fr

Autor: Axel  
Visited 120, Followers 1, Udostępniony 0  

Hi KolAsim,

I need your help on this issue.

Into this page, normally a picture is displayed to refresh the captcha.

https://wsx5demo.afsoftware.fr/captcha.html

But the picture is not displayed.

In the page properties there is this code  but is not working anymore.

<style>
#reloadCpt {
display: block;
width: 25px;
padding: 10px;
cursor: pointer;
margin: 0 auto;
}
</style>


<script>
$(document).ready(function() {
x5engine.boot.push(function() {
$('.x5captcha-wrap').after('<img id="reloadCpt" src="afs-demo/captcha/refresh1.png" />');
$('#reloadCpt').click(function() {
$('.captcha-container').remove();
x5engine.imForm.showCaptcha('#imObjectForm_1_form');
});
});
});
</script>

Into inspect I have this error.

I suppose a change into WSX5 somewhere.

Your help should be very appreciated.embarassed

Axel

Posted on the
1 ODPOWIEDZI - 1 PRAWIDłOWA ODPOWIEDź
Axel  
Axel  
User
Autor
Najlepszy Użytkownik miesiąca FR

I found why...kiss

In fact I had changed the captcha from WSX5 to Google.
With WSX5 captcha it's works fine

Axel

Czytaj więcej
Posted on the from Axel