Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hello,
I have successfully added the 'uCaptcha' package for captcha.
Now I want a reload(refresh) button, which reloads only captcha image. How Can I do that?
Please guide me for it. I am trying but not getting success.
Thanks, Dipa
Hi Dipa,
I'm afraid you can't do that in easy way. Maybe it will be easier for you to install reCaptcha ?
https://www.google.com/recaptcha/intro/index.html
It's just js and postback checking thing.
Thanks, Alex
I got the solution for this issue by myself only. Below is the solution :
<script type="text/javascript"> $(document).ready(function () { $("#refreshImage").click(function () { $("#ImgCaptcha").attr("src", 'uCaptcha.ashx'); }); }); </script> <body> //Refresh button <input type="button" style="background-image:url('../media/1177/refresh-icon.png'); title="Can't read? Try different words." id="refreshImage" > //Captcha image <img src="~/uCaptcha.ashx" class="captchaImage" id="ImgCaptcha" /> </body>
Thanks.
Great Dipa, thanks.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Captcha reload button
Hello,
I have successfully added the 'uCaptcha' package for captcha.
Now I want a reload(refresh) button, which reloads only captcha image. How Can I do that?
Please guide me for it. I am trying but not getting success.
Thanks, Dipa
Hi Dipa,
I'm afraid you can't do that in easy way. Maybe it will be easier for you to install reCaptcha ?
https://www.google.com/recaptcha/intro/index.html
It's just js and postback checking thing.
Thanks, Alex
Hello,
I got the solution for this issue by myself only. Below is the solution :
Thanks.
Great Dipa, thanks.
is working on a reply...