Bootstrap-v3-第三方插件-BootstrapValidator

发布时间:2022-07-04 发布网站:脚本宝典
脚本宝典收集整理的这篇文章主要介绍了Bootstrap-v3-第三方插件-BootstrapValidator脚本宝典觉得挺不错的,现在分享给大家,也给大家做个参考。

一、Bootstrapvalidator插件简介

  • BootstrapValidator,是基于Bootstrap的表单校验插件,内置了许多表单验证器,也可以自定义验证器
  • BootstrapValidator的开发者国外的nghuuphuoc开发的
  • BootstrapValidator包下载地址: https://gIThub.COM/stevenmills/bootstrapvalidator
  • BootstrapValidator引入:将下载完成的BootstrapValidator包中的dist文件夹改名为BootstrapValidator,放在项目根路径下(一般项目中引入第三方插件都是这样操作)

Bootstrap-v3-第三方插件-BootstrapValidator

 

<!DOCTYPE htML>
<html>
  <head>
    <meta charset="utf-8">    <!-- HTML5文档类型 -->
    <meta name="viewport" content="width=device-width,initial-scale=1.0">    <!-- 移动端适配 -->
    <mata http-equiv="X-UA-Compatible" content="IE=Edge">    <!-- 让IE浏览器使用最新的引擎渲染页面 -->

    <script src="js/jquery.js"></script>    <!-- jquery核心js库 -->
    <script src="js/bootstrap-v3.js"></script>    <!-- BootstraP3核心js库 -->
    <script src="BootstrapValidator/js/bootstrapValidator.js"></script>    <!-- BootstrapValidator的js库 -->

    <link rel="stylesheet" href="css/bootstrap-v3.css">    <!-- Bootstrap3核心css库 -->
    <link rel="stylesheet" href="BootstrapValidator/css/bootstrapValidator.css">    <!-- BootstrapValidator的css库 -->

    <title>BootstrapValidator</title>

  </head>
  <body>

  </body>
</html>

 

二、BootstrapValidator插件用法

 

脚本宝典总结

以上是脚本宝典为你收集整理的Bootstrap-v3-第三方插件-BootstrapValidator全部内容,希望文章能够帮你解决Bootstrap-v3-第三方插件-BootstrapValidator所遇到的问题。

如果觉得脚本宝典网站内容还不错,欢迎将脚本宝典推荐好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。