is there anyway for refreshing BotDetect captcha by javascript? something like what refresh button on captcha module does!
i tried to find and trigger the refresh link by using following code:
var reloadLink = $("#ExampleCaptcha_ReloadIcon"); reloadLink.trigger('click');
but it didnt work. im using ASP.NET MVC 5
Try using
$('.BDC_ReloadIcon').trigger('click');
Try this:
const captcha = $('#botdetect-captcha').captcha({ captchaEndpoint: 'simple-captcha-endpoint.ashx' });
And where you need - captcha.reloadImage();
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.