clear incorrect captcha label

2 posts, 0 answers
  1. Karl Ranville
    Karl Ranville avatar
    28 posts
    Member since:
    Mar 2013

    Posted 13 Nov 2013 Link to this post

    Hi guys
    How can I clear the incorrect captcha label on clicking the refresh captcha link?

    Karl.
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 13 Nov 2013 Link to this post

    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.
Back to Top