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

clear incorrect captcha label

1 Answer 27 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Karl Ranville
Top achievements
Rank 1
Karl Ranville asked on 13 Nov 2013, 12:21 PM
Hi guys
How can I clear the incorrect captcha label on clicking the refresh captcha link?

Karl.

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 1
answered on 13 Nov 2013, 12:44 PM
Hi Karl,

Please try the following JavaScript to clear the incorrect captcha label on clicking the refresh captcha link button.

ASPX:
<telerik:RadCaptcha ID="RadCaptcha1" runat="server" ErrorMessage="Invalid Captcha Code"
    EnableRefreshImage="true">
</telerik:RadCaptcha>

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

Thanks,
Princy.
Tags
General Discussions
Asked by
Karl Ranville
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 1
Share this question
or