jQuery Simple Captcha插件

时间:2010-05-19 12:33:03

标签: jquery-plugins

我正在使用jQuery SimpleCaptcha插件 - 它可以很好地加载图像 - 但是你无法点击它们。任何人都可以给我任何提示吗?

<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'></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>

非常感谢, 乔尔

0 个答案:

没有答案