jQuery验证resetForm函数不起作用

如何解决jQuery验证resetForm函数不起作用

| 好的,我有一个具有“是”和“否”单选按钮的表单。当用户单击其中一个时,它会触发radioChanged()函数,该函数检查以查看选中了哪个框。如果未选中,它将显示电子邮件字段并根据规则验证表单。如果用户单击“是”,我需要重置并清除验证,但它似乎无法正常工作。如果选中不需要电子邮件字段的新验证,是否应该重新验证?
<script type=\"text/javascript\">
    var validator = $(\"#newClient\");

    function radioChange() {
        if (document.getElementById(\"yesbutton\").checked == true) {
            document.getElementById(\"emailSpan\").style.display = \"none\";
            document.getElementById(\"cemailSpan\").style.display = \"none\";
            document.getElementById(\"emailError\").style.display = \"none\";
            document.getElementById(\"cemailError\").style.display = \"none\";
            validator.resetForm();
        } else if (document.getElementById(\"nobutton\").checked == true) {
            document.getElementById(\"emailSpan\").style.display = \'block\';
            document.getElementById(\"cemailSpan\").style.display = \'block\';
            document.getElementById(\"emailError\").style.display = \"block\";
            document.getElementById(\"cemailError\").style.display = \"block\";

            validator.validate({
                rules: {
                    Email: {
                        required: true,minlength: 4,maxlength: 48,email: true
                    },ConfirmEmail: {
                        required: true,email: true,equalTo: \"#Email\"
                    }
                },messages: {
                    Email: {
                        required: \"Please enter a valid email address\",email: \"Please enter a valid email address\",maxlength: \"Max length is 48\"
                    },ConfirmEmail: {
                        required: \"Please enter a valid email address\",maxlength: \"Max length is 48\",equalTo: \"Emails do not match\"
                    }
                },errorPlacement: function(error,element) {
                    if (element.attr(\"name\") == \"ConfirmEmail\") error.appendTo(\"#cemailError\");
                    else if (element.attr(\"name\") == \"Email\") error.appendTo(\"#emailError\");
                }
            })
        }
    }
</script>
    

解决方法

您好雅各布,您似乎需要了解一些基本知识,以创建井井有条的Java脚本代码。我认为您的代码存在的问题是您遇到了一些小问题,有时无法看到。这是更新的代码,请告诉我这是否有效。
var validator = $(\"#newClient\");

function radioChange() {
    if (document.getElementById(\"yesbutton\").checked === true) {
        document.getElementById(\"emailSpan\").style.display = \"none\";
        document.getElementById(\"cemailSpan\").style.display = \"none\";
        document.getElementById(\"emailError\").style.display = \"none\";
        document.getElementById(\"cemailError\").style.display = \"none\";
        validator.resetForm();
    } else if (document.getElementById(\"nobutton\").checked === true) {
        document.getElementById(\"emailSpan\").style.display = \'block\';
        document.getElementById(\"cemailSpan\").style.display = \'block\';
        document.getElementById(\"emailError\").style.display = \"block\";
        document.getElementById(\"cemailError\").style.display = \"block\";

        validator.validate({
            rules: {
                Email: {
                    required: true,minlength: 4,maxlength: 48,email: true
                },ConfirmEmail: {
                    required: true,email: true,equalTo: \"#Email\"
                }
            },messages: {
                Email: {
                    required: \"Please enter a valid email address\",email: \"Please enter a valid email address\",maxlength: \"Max length is 48\"
                },ConfirmEmail: {
                    required: \"Please enter a valid email address\",maxlength: \"Max length is 48\",equalTo: \"Emails do not match\"
                }
            },errorPlacement: function(error,element) {
                if (element.attr(\"name\") === \"ConfirmEmail\") {
                    error.appendTo(\"#cemailError\");
                }
                else if (element.attr(\"name\") === \"Email\") {
                    error.appendTo(\"#emailError\");
                }
            }
        });
    }
}
希望这可以帮助!     ,<%@页面语言= \“ C#\” AutoEventWireup = \“ true \” CodeFile = \“ dentistJquery.aspx.cs \” Inherits = \“ dentistJquery \”%> <!DOCTYPE html PUBLIC \“-// W3C // DTD XHTML 1.0 Transitional // EN \” \“ http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd \”> <头> 带有正则表达式的jQuery验证。</ title> <script src = \“ http://ajax.googleapis.com/ajax/libs/jquery/1.3.0/jquery.min.js \” type = \“ text / javascript \”> </ script> <script src = \“ Scripts / jquery.validate.js \” type = \“ text / javascript \”> </ script> <script type = \“ text / javascript \”>     $(document).ready(function(){     $ .validator.addMethod(\“ email \”,函数(值,元素)     {     返回this.optional(element)|| /^[a-zA-Z0-9._-]+@[a-zA-Z0-9-]+\\.[a-zA-Z.]{2,5}$/i.test(value );     },     \“请输入有效的电子邮件地址。\”); // if(document.getElementById(\“ email \”)。value!= null) // { // document.getElementById(\“ contactnumber \”)。style.display = \'block \'; //}      $ .validator.addMethod(\“ firstname \”,function(value,element){     返回this.optional(element)|| /^[a-zA-Z0-9._-]{5,16}$/i.test(value);     },\“名字为必填项,并且必须有效。\”)      $ .validator.addMethod(\“ lastname \”,function(value,element)      {     返回this.optional(element)|| /^[a-zA-Z0-9._-]{5,16}$/i.test(value);     },\“姓氏为必填项,并且必须有效。\”);     $ .validator.addMethod(\“ contactnumber \”,function(value,element){     返回this.optional(element)|| /^[0-9\\-\\+]+$/i.test(value);     },\“联系电话为必填项,并且必须有效。\”)     $ .validator.addMethod(\“ comment \”,function(value,element){     返回this.optional(element)|| /^[a-zA-Z0-9._-]{10,16}$/i.test(value);     },\“请输入至少50个字符的注释\”);         //验证注册表单         $(\“#signup \”)。validate({                 规则:{                         电子邮件:\“必填电子邮件\”,                         名:\“必填名\”,                         contactnumber:“必需的联系人号码”,                         姓氏:“必需的姓氏”,                         评论:\“必填评论\”,                 },         });     }); </ script> <样式> * {边距:0px; 填充:0px; } 身体 { 字体家族:Arial,Helvetica,sans-serif; font-size:13px; } 输入 { 宽度:220像素; 高度:25像素; font-size:13px; 底边距:10px; 边框:实心1px#333333; } 标签错误 { font-size:11px; 背景颜色:#cc0000; 颜色:#FFFFFF; padding:3px; margin-left:5px; -moz-border-radius:4px; -webkit-border-radius:4px; } </ style> </ head> <身体> <div align = \“中心\”> <div style = \“ width:650px; margin-top:20px \” align = \“ left \”> <div style = \“ margin-left:10px \”> <form method = \“ post \” action = \“ About.aspx \” name = \“ signup \” id = \“ signup \”> <b>名字</ b> <br /> <输入类型= \“文本\”名称= \“名字\”值= \“请输入名字\” id = \“名字\” /> <br /> <b>姓氏</ b> <br /> <input type = \“ text \” name = \“ lastname \” value = \“请输入姓氏\” id = \“ lastname \” /> <br /> <b>电子邮件</ b> <br /> <输入类型= \“文本\”名称= \“电子邮件\”值= \“请输入您的电子邮件\” id = \“电子邮件\” /> <br /> <b>电话号码</ b> <br /> <input type = \“ text \” name = \“ contactnumber \” value = \“请输入您的联系电话\” id = \“ contactnumber \” /> <br /> <b>消息</ b> <br /> <textarea名称= \“评论\” id = \“评论\”> </ textarea> <br /> <br /> <input type = \“ submit \” value = \“提交\” name = \'SUBMIT \'id = \“ SUBMIT \” /> </ form> </ div> </ div> </ div> </ body> </ html>     </div><p class="text-muted" style="margin-top:20px;">版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。</p> </div> </div> </div> </div> <div class="row row-sm"> <div class="col-sm-12 col-md-12 col-lg-12"> <div class="card"> <h3>相关推荐</h3> <hr /> <div class="list_con"> <div class="title"><a href="https://www.jb51.cc/faq/4760921.html" title="导入项目后报错问题">导入项目后报错问题</a></div> <div class="summary">依赖报错 idea导入项目后依赖报错,解决方案:https://blog.csdn.net/weixin_42420249/article/details/81191861 依赖版本报错:更换其他版本 无法下载依赖可参考:https://blog.csdn.net/weixin_42628809/a</div> </div><div class="list_con"> <div class="title"><a href="https://www.jb51.cc/faq/4760920.html" title="idea不能识别yaml文件">idea不能识别yaml文件</a></div> <div class="summary"></div> </div><div class="list_con"> <div class="title"><a href="https://www.jb51.cc/faq/4760919.html" title="使用mybatis plus常见错误">使用mybatis plus常见错误</a></div> <div class="summary">错误1:代码生成器依赖和mybatis依赖冲突 启动项目时报错如下 2021-12-03 13:33:33.927 ERROR 7228 [ main] o.s.b.d.LoggingFailureAnalysisReporter : *************************** APPL</div> </div><div class="list_con"> <div class="title"><a href="https://www.jb51.cc/faq/4760918.html" title="gradle常见问题与错误">gradle常见问题与错误</a></div> <div class="summary">错误1:gradle项目控制台输出为乱码 # 解决方案:https://blog.csdn.net/weixin_43501566/article/details/112482302 # 在gradle-wrapper.properties 添加以下内容 org.gradle.jvmargs=-Df</div> </div><div class="list_con"> <div class="title"><a href="https://www.jb51.cc/faq/4760917.html" title="Mybatis Plus传入参数0不起作用">Mybatis Plus传入参数0不起作用</a></div> <div class="summary">错误还原:在查询的过程中,传入的workType为0时,该条件不起作用 &lt;select id=&quot;xxx&quot;&gt; SELECT di.id, di.name, di.work_type, di.updated... &lt;where&gt; &lt;if test=&qu</div> </div><div class="list_con"> <div class="title"><a href="https://www.jb51.cc/faq/4760916.html" title="linux中make编译源码包失败">linux中make编译源码包失败</a></div> <div class="summary">报错如下,gcc版本太低 ^ server.c:5346:31: 错误:‘struct redisServer’没有名为‘server_cpulist’的成员 redisSetCpuAffinity(server.server_cpulist); ^ server.c: 在函数‘hasActiveC</div> </div><div class="list_con"> <div class="title"><a href="https://www.jb51.cc/faq/4760915.html" title="微服务启动错误:Command line is too long. Shorten command line for">微服务启动错误:Command line is too long. Shorten command line for</a></div> <div class="summary">解决方案1 1、改项目中.idea/workspace.xml配置文件,增加dynamic.classpath参数 2、搜索PropertiesComponent,添加如下 &lt;property name=&quot;dynamic.classpath&quot; value=&quot;tru</div> </div><div class="list_con"> <div class="title"><a href="https://www.jb51.cc/faq/4760914.html" title="vue常见错误">vue常见错误</a></div> <div class="summary">删除根组件app.vue中的默认代码后报错:Module Error (from ./node_modules/eslint-loader/index.js): 解决方案:关闭ESlint代码检测,在项目根目录创建vue.config.js,在文件中添加 module.exports = { lin</div> </div><div class="list_con"> <div class="title"><a href="https://www.jb51.cc/faq/4760913.html" title="spark常见错误">spark常见错误</a></div> <div class="summary">查看spark默认的python版本 [root@master day27]# pyspark /home/software/spark-2.3.4-bin-hadoop2.7/conf/spark-env.sh: line 2: /usr/local/hadoop/bin/hadoop: No s</div> </div><div class="list_con"> <div class="title"><a href="https://www.jb51.cc/faq/4760912.html" title="matplotlib报错:AttributeError: module 'backend_interagg' has no attribute 'FigureCanvas'. Did you mean: 'FigureCanvasAgg'?">matplotlib报错:AttributeError: module 'backend_interagg' has no attribute 'FigureCanvas'. Did you mean: 'FigureCanvasAgg'?</a></div> <div class="summary">使用本地python环境可以成功执行 import pandas as pd import matplotlib.pyplot as plt # 设置字体 plt.rcParams[&#39;font.sans-serif&#39;] = [&#39;SimHei&#39;] # 能正确显示负号 p</div> </div><div class="list_con"> <div class="title"><a href="https://www.jb51.cc/faq/4760911.html" title="gitlab登录失败,报错:This challenge page was accidentally cached by an intermediary and is no longer available.">gitlab登录失败,报错:This challenge page was accidentally cached by an intermediary and is no longer available.</a></div> <div class="summary">设置时间 控制面板</div> </div><div class="list_con"> <div class="title"><a href="https://www.jb51.cc/faq/4760910.html" title="后端开发常见错误">后端开发常见错误</a></div> <div class="summary">错误1:Request method ‘DELETE‘ not supported 错误还原:controller层有一个接口,访问该接口时报错:Request method ‘DELETE‘ not supported 错误原因:没有接收到前端传入的参数,修改为如下 参考 错误2:cannot r</div> </div><div class="list_con"> <div class="title"><a href="https://www.jb51.cc/faq/4760909.html" title="docker常见错误">docker常见错误</a></div> <div class="summary">错误1:启动docker镜像时报错:Error response from daemon: driver failed programming external connectivity on endpoint quirky_allen 解决方法:重启docker -&gt; systemctl r</div> </div><div class="list_con"> <div class="title"><a href="https://www.jb51.cc/faq/4760908.html" title="idea常见错误">idea常见错误</a></div> <div class="summary">错误1:private field ‘xxx‘ is never assigned 按Altʾnter快捷键,选择第2项 参考:https://blog.csdn.net/shi_hong_fei_hei/article/details/88814070 错误2:启动时报错,不能找到主启动类 #</div> </div><div class="list_con"> <div class="title"><a href="https://www.jb51.cc/faq/4760907.html" title="pip安装依赖失败">pip安装依赖失败</a></div> <div class="summary">报错如下,通过源不能下载,最后警告pip需升级版本 Requirement already satisfied: pip in c:\users\ychen\appdata\local\programs\python\python310\lib\site-packages (22.0.4) Coll</div> </div><div class="list_con"> <div class="title"><a href="https://www.jb51.cc/faq/4760906.html" title="maven常见错误">maven常见错误</a></div> <div class="summary">错误1:maven打包报错 错误还原:使用maven打包项目时报错如下 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.2.0:resources (default-resources)</div> </div><div class="list_con"> <div class="title"><a href="https://www.jb51.cc/faq/4760905.html" title="cloud项目中常见错误">cloud项目中常见错误</a></div> <div class="summary">错误1:服务调用时报错 服务消费者模块assess通过openFeign调用服务提供者模块hires 如下为服务提供者模块hires的控制层接口 @RestController @RequestMapping(&quot;/hires&quot;) public class FeignControl</div> </div><div class="list_con"> <div class="title"><a href="https://www.jb51.cc/faq/4760904.html" title="springboot常见错误">springboot常见错误</a></div> <div class="summary">错误1:运行项目后报如下错误 解决方案 报错2:Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project sb 解决方案:在pom.</div> </div><div class="list_con"> <div class="title"><a href="https://www.jb51.cc/faq/4760903.html" title="springmvc拦截器中使用redisTemplate报空指针异常">springmvc拦截器中使用redisTemplate报空指针异常</a></div> <div class="summary">参考 错误原因 过滤器或拦截器在生效时,redisTemplate还没有注入 解决方案:在注入容器时就生效 @Component //项目运行时就注入Spring容器 public class RedisBean { @Resource private RedisTemplate&lt;String</div> </div><div class="list_con"> <div class="title"><a href="https://www.jb51.cc/faq/4760902.html" title="vite报错:npm ERR! command C:WINDOWSsystem32cmd.exe /d /s /c C:UsersychenAppDataLocalTempnpx-dde1c848.cmd">vite报错:npm ERR! command C:WINDOWSsystem32cmd.exe /d /s /c C:UsersychenAppDataLocalTempnpx-dde1c848.cmd</a></div> <div class="summary">使用vite构建项目报错 C:\Users\ychen\work&gt;npm init @vitejs/app @vitejs/create-app is deprecated, use npm init vite instead C:\Users\ychen\AppData\Local\npm-</div> </div></div> </div> </div> </div> <div class="col-sm-12 col-md-12 col-lg-3"> <!-- row --> <div class="row row-sm"> <div class="col-sm-12 col-md-12 col-lg-12"> <div class="card"> <!-- jb51-article-300x600 --> <ins class="adsbygoogle" style="display:inline-block;width:300px;height:600px" data-ad-client="ca-pub-4605373693034661" data-ad-slot="7541177540"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> </div> </div> </div> <!-- row end --> <div class="row row-sm"> <div class="col-sm-12 col-md-12 col-lg-12"> <div class="card"> <label class="main-content-label ">热门文章</label> <ul class="n-list"><li><a href="https://www.jb51.cc/faq/4760921.html" title="导入项目后报错问题">• 导入项目后报错问题</a></li><li><a href="https://www.jb51.cc/faq/4760920.html" title="idea不能识别yaml文件">• idea不能识别yaml文件</a></li><li><a href="https://www.jb51.cc/faq/4760919.html" title="使用mybatis plus常见错误">• 使用mybatis plus常见错误</a></li><li><a href="https://www.jb51.cc/faq/4760918.html" title="gradle常见问题与错误">• gradle常见问题与错误</a></li><li><a href="https://www.jb51.cc/faq/4760917.html" title="Mybatis Plus传入参数0不起作用">• Mybatis Plus传入参数0不起作用</a></li><li><a href="https://www.jb51.cc/faq/4760916.html" title="linux中make编译源码包失败">• linux中make编译源码包失败</a></li><li><a href="https://www.jb51.cc/faq/4760915.html" title="微服务启动错误:Command line is too long. Shorten command line for">• 微服务启动错误:Command line is too …</a></li><li><a href="https://www.jb51.cc/faq/4760914.html" title="vue常见错误">• vue常见错误</a></li><li><a href="https://www.jb51.cc/faq/4760913.html" title="spark常见错误">• spark常见错误</a></li><li><a href="https://www.jb51.cc/faq/4760912.html" title="matplotlib报错:AttributeError: module 'backend_interagg' has no attribute 'FigureCanvas'. Did you mean: 'FigureCanvasAgg'?">• matplotlib报错:AttributeError: modu…</a></li></ul> </div> </div> </div> <div class="row row-sm"> <div class="col-sm-12 col-md-12 col-lg-12"> <div class="card"> <label class="main-content-label ">最新文章</label> <ul class="n-list"><li><a href="https://www.jb51.cc/faq/4760921.html" title="导入项目后报错问题">• 导入项目后报错问题</a></li><li><a href="https://www.jb51.cc/faq/4760920.html" title="idea不能识别yaml文件">• idea不能识别yaml文件</a></li><li><a href="https://www.jb51.cc/faq/4760919.html" title="使用mybatis plus常见错误">• 使用mybatis plus常见错误</a></li><li><a href="https://www.jb51.cc/faq/4760918.html" title="gradle常见问题与错误">• gradle常见问题与错误</a></li><li><a href="https://www.jb51.cc/faq/4760917.html" title="Mybatis Plus传入参数0不起作用">• Mybatis Plus传入参数0不起作用</a></li><li><a href="https://www.jb51.cc/faq/4760916.html" title="linux中make编译源码包失败">• linux中make编译源码包失败</a></li><li><a href="https://www.jb51.cc/faq/4760915.html" title="微服务启动错误:Command line is too long. Shorten command line for">• 微服务启动错误:Command line is too …</a></li><li><a href="https://www.jb51.cc/faq/4760914.html" title="vue常见错误">• vue常见错误</a></li><li><a href="https://www.jb51.cc/faq/4760913.html" title="spark常见错误">• spark常见错误</a></li><li><a href="https://www.jb51.cc/faq/4760912.html" title="matplotlib报错:AttributeError: module 'backend_interagg' has no attribute 'FigureCanvas'. Did you mean: 'FigureCanvasAgg'?">• matplotlib报错:AttributeError: modu…</a></li></ul> </div> </div> </div> <div class="row row-sm"> <div class="col-sm-12 col-md-12 col-lg-12"> <div class="card"> <label class="main-content-label ">热门标签<a href="https://www.jb51.cc/all" class="pull-right">更多</a> </label> <div class="topcard-tags"><a href="https://www.jb51.cc/tag/python/" title="python">python</a><a href="https://www.jb51.cc/tag/JavaScript/" title="JavaScript">JavaScript</a><a href="https://www.jb51.cc/tag/java/" title="java">java</a><a href="https://www.jb51.cc/tag/HTML/" title="HTML">HTML</a><a href="https://www.jb51.cc/tag/PHP/" title="PHP">PHP</a><a href="https://www.jb51.cc/tag/reactjs/" title="reactjs">reactjs</a><a href="https://www.jb51.cc/tag/C/" title="C#">C#</a><a href="https://www.jb51.cc/tag/Android/" title="Android">Android</a><a href="https://www.jb51.cc/tag/CSS/" title="CSS">CSS</a><a href="https://www.jb51.cc/tag/Nodejs/" title="Node.js">Node.js</a><a href="https://www.jb51.cc/tag/sql/" title="sql">sql</a><a href="https://www.jb51.cc/tag/rp/" title="r">r</a><a href="https://www.jb51.cc/tag/python3x/" title="python-3.x">python-3.x</a><a href="https://www.jb51.cc/tag/MysqL/" title="MysqL">MysqL</a><a href="https://www.jb51.cc/tag/jQuery/" title="jQuery">jQuery</a><a href="https://www.jb51.cc/tag/c4343/" title="c++">c++</a><a href="https://www.jb51.cc/tag/pandas/" title="pandas">pandas</a><a href="https://www.jb51.cc/tag/flutter/" title="Flutter">Flutter</a><a href="https://www.jb51.cc/tag/angular/" title="angular">angular</a><a href="https://www.jb51.cc/tag/IOS/" title="IOS">IOS</a><a href="https://www.jb51.cc/tag/django/" title="django">django</a><a href="https://www.jb51.cc/tag/linux/" title="linux">linux</a><a href="https://www.jb51.cc/tag/swift/" title="swift">swift</a><a href="https://www.jb51.cc/tag/typescript/" title="typescript">typescript</a><a href="https://www.jb51.cc/tag/luyouqi/" title="路由器">路由器</a><a href="https://www.jb51.cc/tag/JSON/" title="JSON">JSON</a><a href="https://www.jb51.cc/tag/luyouqishezhi/" title="路由器设置">路由器设置</a><a href="https://www.jb51.cc/tag/wuxianluyouqi/" title="无线路由器">无线路由器</a><a href="https://www.jb51.cc/tag/h3c/" title="h3c">h3c</a><a href="https://www.jb51.cc/tag/huasan/" title="华三">华三</a><a href="https://www.jb51.cc/tag/huasanluyouqishezhi/" title="华三路由器设置">华三路由器设置</a><a href="https://www.jb51.cc/tag/huasanluyouqi/" title="华三路由器">华三路由器</a><a href="https://www.jb51.cc/tag/diannaoruanjianjiaocheng/" title="电脑软件教程">电脑软件教程</a><a href="https://www.jb51.cc/tag/arrays/" title="arrays">arrays</a><a href="https://www.jb51.cc/tag/docker/" title="docker">docker</a><a href="https://www.jb51.cc/tag/ruanjiantuwenjiaocheng/" title="软件图文教程">软件图文教程</a><a href="https://www.jb51.cc/tag/C/" title="C">C</a><a href="https://www.jb51.cc/tag/vuejs/" title="vue.js">vue.js</a><a href="https://www.jb51.cc/tag/laravel/" title="laravel">laravel</a><a href="https://www.jb51.cc/tag/springboot/" title="spring-boot">spring-boot</a></div> </div> </div> </div> <div class="row row-sm rbox"> <div class="col-sm-12 col-md-12 col-lg-12"> <div class="card"> <!-- jb51-article-300x600 --> <ins class="adsbygoogle" style="display:inline-block;width:300px;height:600px" data-ad-client="ca-pub-4605373693034661" data-ad-slot="7541177540"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> </div> </div> </div> </div> </div> </div> <footer id="footer"> <div class="container" style="width:1440px;"> <div class="row hidden-xs"> <div class="col-sm-12 col-md-9 col-lg-9 site-link"> <ul class="list-inline"> <li>友情链接:</li><li><a href="https://www.runoob.com/" title="菜鸟教程(www.runoob.com)提供了编程的基础技术教程, 介绍了HTML、CSS、Javascript、Python,Java,Ruby,C,PHP , MySQL等各种编程语言的基础知识。 同时本站中也提供了大量的在线实例,通过实例,您可以更好的学习编程。" target="_blank" rel="nofollow">菜鸟教程</a></li><li><a href="https://ai.jb51.cc/" title="ai导航是编程之家旗下ai方向的ai资讯、ai工具类集合导航站。" target="_blank" rel="nofollow">ai导航</a></li></ul> <ul class="list-inline"> <li><a href="https://www.jb51.cc" title="编程之家">编程之家</a></li>-<li><a href="https://t5m44pq3f7.jiandaoyun.com/f/638ca61b7b079a000a5d2dd6" rel="nofollow" title="我要投稿" target="_blank">我要投稿</a></li>-<li><a target="_blank" rel="nofollow" href="https://t5m44pq3f7.jiandaoyun.com/f/638ca8c69ad234000a79561f" title="广告合作">广告合作</a></li>-<li><a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=76874919&site=qq&menu=yes">联系我们</a></li>-<li><a href="https://www.jb51.cc/disclaimers.html" title="免责声明">免责声明</a></li>-<li><a href="https://www.jb51.cc/sitemap/all/index.xml" title="网站地图" target="_blank">网站地图</a></li> </ul> <div>版权所有 © 2018编程之家<a href="https://beian.miit.gov.cn/" target="_blank" rel="nofollow">闽ICP备13020303号-8</a> </div> </div> <div class="col-sm-12 col-md-3 col-lg-3"><img src="https://www.jb51.cc/qrcode.jpg" width="90" alt="微信公众号搜索 “ 程序精选 ” ,选择关注!"> <div class="pull-right">微信公众号搜<span class="text-danger">"程序精选"</span>关注<br />微信扫一扫可直接关注哦!</div> </div> </div> </div> </footer> <script src="https://www.jb51.cc/js/count.js"></script> </body> </html>