07 2022 档案
摘要:1、首先引入相关css、js文件 1 <link rel="stylesheet" type="text/css" href="../css/bootstrapValidator.min.css" /> 2 <script src="../js/bootstrapValidator.min.js"
阅读全文
摘要:一.首先引入BootstrapValidator插件 BootstrapValidator插件需要jQuery和Bootstrap 3 引入js和css文件 1 <link rel="stylesheet" href="/path/to/bootstrap/css/bootstrap.css"/>
阅读全文
摘要:一、可选链操作符?. 可选链操作符?.允许读取位于连接对象链深处的属性值,而不必明确验证链中的每个引用是否有效。 let nestedProp = obj.first && obj.first.second; // 等价于 let nestedProp = obj.first?.second; js
阅读全文
摘要:1 <!DOCTYPE html> 2 <html lang="en"> 3 <head> 4 <meta charset="UTF-8"> 5 <meta http-equiv="X-UA-Compatible" content="IE=edge"> 6 <meta name="viewport"
阅读全文