HTML网页实现FLV视频播放
摘要:一、HTML代码如下: <div id="player"></div> 二、JavaScript代码如下: <script src="http://cdn.jsdelivr.net/npm/xgplayer/browser/index.js" charset="utf-8"></script> <s
阅读全文
posted @
2021-01-02 17:05
卖小女孩的小男孩
阅读(2487)
推荐(0)
jQuery ajax的traditional参数的作用
摘要:jQuery ajax的traditional参数的作用 一般的,可能有些人在一个参数有多个值的情况下,可能以某个字符分隔的形式传递,比如页面上有多个checkbox: 1 2 3 4 5 6 $.ajax{ url:"xxxx", data:{ p: "123,456,789" } } 然后后台获
阅读全文
posted @
2020-10-29 15:56
卖小女孩的小男孩
阅读(98)
推荐(0)
js判断变量是不是数组的方法
摘要:方案一:instanceof 1 变量 instanceof 类型 返回的是布尔值 true false<br>例: var a = [] a instanceof Array 方案二:原型prototype + toString + call() 首先: Object.prototype.toSt
阅读全文
posted @
2020-10-27 13:36
卖小女孩的小男孩
阅读(134)
推荐(0)
个人笔记
摘要:js图片预览: function viewPic(id, imgId) { var reads = new FileReader(); f = document.getElementById(id).files[0]; if (f) { reads.readAsDataURL(f); reads.o
阅读全文
posted @
2019-08-21 15:21
卖小女孩的小男孩
阅读(76)
推荐(0)
BootstrapTable参数、属性、事件列表
摘要:BootstrapTable参数、属性、事件列表
阅读全文
posted @
2019-06-28 18:13
卖小女孩的小男孩
阅读(1854)
推荐(0)