开发者

jQuery Simple Captcha Plugin

I am using the jQuery SimpleCaptcha plugin - it loads the images fine - but you are unable to click on them. Can anyone give me any hints?

<html>
<head>
    <script type='text/javascript' src='jquery-1.4.2.min.js'></script> 
    <script type='text/javascript' src='jquery.simpleCaptcha-0.2.js'></script> 
    <script type='text/javascript' src='core.js'></script>  
</head>
<body>  
    <form>
      <div id='captcha1'开发者_StackOverflow中文版></div>
      <input type='submit' />
    </form>
    <script type="text/javascript">
        $('#captcha1').simpleCaptcha({
            numImages: 3,
            introText: '<p>Are yogegeu human? Then pick out the <strong class="captchaText"></strong></p>'
          });
    </script>
    <?php
    if ($_GET['captchaSelection'] == $_SESSION['simpleCaptchaAnswer']) {
      // they're human! (maybe)
    }
    ?>
</body>

Many Thanks, Joel

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜