js代码
<script src="js/jquery-1.11.0.min.js" type="text/javascript"></script> <script src="disk/longbow.slidercaptcha.js"></script> <script> $('#captcha').sliderCaptcha({ repeatIcon: 'fa fa-redo', setSrc: function () { return 'http://images.sdgxgz.com/Pic' + Math.round(Math.random() * 136) + '.jpg'; }, onSuccess: function () { alert('验证通过!'); } }); </script>