This is a migrated thread and some comments may be shown as answers.

Hide error message when generate new captcha image.

1 Answer 23 Views
Captcha
This is a migrated thread and some comments may be shown as answers.
Alexanders
Top achievements
Rank 1
Alexanders asked on 24 Sep 2013, 07:50 AM
Hello,

I have RadCaptcha on my page with enabled "Refresh Captcha Image Functionality" but there is one thing if I type wrong captcha I receive error message that's correct then I click on 'Generate new image' and error message still visible but should not be visible because I generate new captcha Image. How can I hide error message when I click on Generate new image link?

Regards.

1 Answer, 1 is accepted

Sort by
0
Accepted
Princy
Top achievements
Rank 1
answered on 24 Sep 2013, 09:40 AM
Hi Alexanders,

Please try the following code to hide the RadCaptcha ErrorMessage on clicking the refresh captcha link button.

JavaScript:
<script type="text/javascript">
    $telerik.$("#CaptchaCode_CaptchaLinkButton").click(function () {
        $telerik.$("#CaptchaCode_ctl00").hide();
    });
</script>

Thanks,
Princy.
Tags
Captcha
Asked by
Alexanders
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 1
Share this question
or