07 2020 档案

摘要:bootstrap自带的switch的赋值开关办法为 $("#Modal_State").attr("checked",true); 但是如果独立用Bootstrap Switch开关控件,自己的css和库的话,就需要用下面这种方式: $("#Modal_S... 阅读全文
posted @ 2020-07-23 14:59 neverthelessing 阅读(179) 评论(0) 推荐(0)
摘要:在本地直接打开报错跨域问题。 解决办法; 在VScode里下载插件 Live Server,然后在需要打开的页面点击右键,open with Live Server,就没有跨域问题了。 阅读全文
posted @ 2020-07-20 17:59 neverthelessing 阅读(59) 评论(0) 推荐(0)
摘要:重新卸载再安装谷歌浏览器,然后设置成默认浏览器,然后就可以了。 阅读全文
posted @ 2020-07-20 16:28 neverthelessing 阅读(539) 评论(0) 推荐(0)
摘要:性别 下拉框的赋值:$("#Modal_Sex"... 阅读全文
posted @ 2020-07-15 17:23 neverthelessing 阅读(187) 评论(0) 推荐(0)
摘要:比如 不可选属性 添加属性$("#args").attr("disabled",'disabled'); 移除属性$("#args").removeAttr("disabled"); 阅读全文
posted @ 2020-07-15 09:44 neverthelessing 阅读(46) 评论(0) 推荐(0)
摘要:/判断是否选中:if ($("#customControlValidationSuccess4").is(':checked'))//赋值,设置checkbox选中或不选中:$("#customControlValidationSuccess4").attr(... 阅读全文
posted @ 2020-07-11 16:51 neverthelessing 阅读(60) 评论(0) 推荐(0)
摘要:发现沟通非常重要。 有时候想当然以为这个功能需要有,实际上并不需要,所有一定要提前沟通好,到底是做什么。 还有哦,要有质疑精神,有时候不一定别人说的就是对的。 代码尽量不要有重复的地方,能用一个就调用一个函数,把重复的提炼出来。 Bootstrap table... 阅读全文
posted @ 2020-07-09 14:42 neverthelessing 阅读(41) 评论(0) 推荐(0)
摘要:按照教程写的SignalR长连接,但是有错WebSocket is not in the OPEN state。 最后发现是引入的库冲突了,把引入的其他js库删掉后便可以连接上了。 阅读全文
posted @ 2020-07-09 14:40 neverthelessing 阅读(146) 评论(0) 推荐(0)
摘要:在尝试多种方法无效后,网上其他答案就不说了。我去它的官网上找到了 注意css的样式要放在其他所有样式最前面 js要放在所有引入的js最后面,最好是紧贴着写的js逻辑代码 阅读全文
posted @ 2020-07-08 09:52 neverthelessing 阅读(918) 评论(0) 推荐(0)
摘要:在需要点击触发的元素上加上 z-index:100 阅读全文
posted @ 2020-07-08 09:39 neverthelessing 阅读(138) 评论(0) 推荐(0)