企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持知识库和私有化部署方案 广告
[下载] 链接:http://pan.baidu.com/s/1mhIMDZU 密码:xi1l [使用] 放在public根目录下 html示例: ~~~ <div class="code_wrp"> <img class="code" alt="验证码" title="点击更换" src="/code/code_math.php" onclick="this.src = '/code/code_math.php?t='+ Math.random();"> <input type="text" name="code" id="code" placeholder="验证码" /> </div> ~~~ js示例: ~~~ var code = $("#code").val(); if ($.trim(code) == '') { toastr.warning('请输入验证码'); return false; } $.post('/code/chk_code.php',{ code:code },function(result){ if (result == '200') { //在这里做验证码通过之后的操作 }else{ toastr.error('验证码输入错误'); } }); ~~~