![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
javascript
你是我可乐
我的QQ是490419742,欢迎讨论
展开
-
easyui的datagrid表头与数据列宽度不一致
如图,在我弄好之后,上下与数据列宽度不对应原创 2020-04-29 10:10:04 · 2031 阅读 · 2 评论 -
IE8:SCRIPT438: 对象不支持“play”属性或方法,audio.play()无法使用
在Ie8下audio,标签无法使用,但是在9,10,11这些都可以使用以下都是通过搜索总结的后面发现:embed 这个标签在ie8下可以播放声音,这里的src链接是固定的,后面还有不固定的使用autostart="false",这里的false设置的是加载页面时不自动播放,true为自动播放<audio id="haveOrder" src="/static/audi...原创 2020-04-29 10:02:33 · 941 阅读 · 1 评论 -
IE8SCRIPT438: 对象不支持“keys”属性或方法,trim的方法,SCRIPT5009: “Set”未定义
//这个是解决ie8 trim的方法Function.prototype.method = function (name, func) { this.prototype[name] = func; return this;};if (!String.prototype.trim) { //判断下浏览器是否自带有trim()方法 String.method('tr...原创 2020-04-27 10:37:22 · 1947 阅读 · 1 评论 -
兼容IE8的foreach,map,getElementsByClassName
IE8不兼容foreach,在运行时会报错,通过在网上搜索,找到了一些兼容代码,在网上试了一些,我的项目里面这三个有效,你们也可以试试其它的哦// 这个解决ie8的兼容foreach的功能if (typeof Array.prototype.forEach != 'function') { Array.prototype.forEach = function (callback) ...原创 2020-04-24 15:03:55 · 241 阅读 · 0 评论 -
WebSocket兼容Ie8
WebSocket兼容Ie8背景:原来项目功能基本实现,现在是做兼容Ie8的需求,前端有websocket的及时推送消息功能以前这个是兼容ie11的,但是Ie8开始报错,如图在网上搜了很多后面先看见这些地址的内容链接1:https://www.jianshu.com/p/606e3a6b8a5b看见了楼主下面的评论回答可以得到链接2链接2:https://githu...原创 2020-04-24 14:52:13 · 659 阅读 · 0 评论 -
thymeleaf+easyui加载页面时Caused by: org.thymeleaf.exceptions.TemplateProcessingException
加载面试时报错提示是:org.thymeleaf.exceptions.TemplateInputException: An error happened during template parsing (template: "class path resource [*****]我的js代码有:function Initldlx() { let data = 'oid=' + ...原创 2019-12-20 13:53:41 · 643 阅读 · 0 评论