![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
js
zooKevin
读万卷书不如行万里路,行万里路不如阅人无数,阅人无数不如名师指路。
展开
-
srt 字幕格式 和 json数组之间的相互转换
srt 于js 数组之间相互转换原创 2022-07-10 18:05:03 · 1049 阅读 · 1 评论 -
js toFixed
今天在工作中 忽略了toFixed格式化后的类型导致了失败。上代码var nowTime = 3.00966;nowTime = nowTime.toFixed(2);var endTime = 21.091;endTime = endTime.toFixed(2); console.log(nowTime);// 3.01console.log(endTime);// 21.09console.log(typeof nowTime);// stringconsole.log(t.原创 2022-03-09 15:09:25 · 239 阅读 · 0 评论 -
ztree.js 实现下拉单选和多选的例子
ztree 实现多层级下拉效果。原创 2022-03-02 15:44:43 · 2175 阅读 · 0 评论 -
文件上传加进度条,layer 弹出进度
CSS.process-bar-wrapper{ background-color: #FFF; width: 360px; height: 34px; position: relative; padding: 0; margin: 0; overflow: hidden; border-radius: 2px;}.process...原创 2019-11-05 16:28:55 · 1000 阅读 · 0 评论 -
文件上传加进度条,layer 弹出进度
CSS.process-bar-wrapper{ background-color: #FFF; width: 360px; height: 34px; position: relative; padding: 0; margin: 0; overflow: hidden; border-radius: 2px;}.process...原创 2024-04-02 14:39:20 · 146 阅读 · 0 评论 -
js闭包函数的实例
今天用了一天的时间,看了一下关于js的闭包函数。好像是明白了它的含义以及用法。如果欠考虑了,希望能指出。函数定义和函数表达式 位于另一个函数体内,而且 这些内部函数可以访问它们所在的外部函数中声明的所有局部变量、参数和声明的其他内部函数 , 就叫做闭包函数。实例 <script type="text/javascript">// 测试是否 身体比例 身高和体重比例是否正常//...原创 2018-05-16 15:28:30 · 1641 阅读 · 0 评论 -
解决Ajax请求结果的缓存问题(参数无变化)
<div id="article_content" class="article_content clearfix csdn-tracking-statistics" data-pid="blog" data-mod="popu_307" data-dsm="post"> <link rel="stylesheet&am原创 2018-06-15 16:36:43 · 3863 阅读 · 0 评论