09 2023 档案
摘要:在Handler.ashx中: 1. 字符串转整数 Convert.ToInt32() 例:int v_最大ID的剩余数量 = Convert.ToInt32(class1.ExecScalar(class1.GetConnection1(), s0)); 在javascript中: 1. 小数部分
阅读全文
摘要:<div class="form-group"> <label for="inputPassword3" class="col-sm-2 control-label">机台</label> <div class="col-sm-10"> <input type="text" class="form-
阅读全文
摘要:Bootstrat <script src="Scripts/bootstrap/JS/jquery.js"></script> // jquery.js需放在bootstrap.js的上面 <script src="Scripts/bootstrap/JS/bootstrap.js"></scri
阅读全文
摘要:1.bootstrap内置图标显示异常:(修正:fonts要在CSS、JS同级目录下)
阅读全文
摘要:using Newtonsoft.Json; //操作json库 需将2个文件放bin文件夹中 1. Newtonsoft.Json.dll 2.Newtonsoft.Json.xml
阅读全文
摘要:1. 官网下载jsjs文件。 2. 使用官网在线共享的js文件。 例如:<script src="https://www.jq22.com/jquery/three.min.js"></script> 3. 在浏览器上填入上面的地址,访问页面,从页面中复制代码,粘贴在新建的空白js文件中。 有时候页
阅读全文
摘要:href: <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" /> <link rel="stylesheet" href="./css/font.css"> <link rel="stylesheet" href="
阅读全文
摘要:1. 在纯JS下: <script> alert(getNowTime()); //document.getElementById('rq').value = getNowTime(); function getNowTime() { var date = new Date(); this.year
阅读全文