JavaScript
rotateX
这个作者很懒,什么都没留下…
展开
-
jquery 延迟执行
setTimeout(function(){ //所有的逻辑},2000);原创 2019-11-18 15:03:50 · 144 阅读 · 0 评论 -
JS字符串拼接两个以上参数的函数
JS字符串拼接两个以上参数ht = ht + '<div><button οnclick=show("'+arr[i].name+'","'+ arr[i].age +'")>我是按钮'+i+'</button></div><br>'原创 2019-11-15 18:01:03 · 1274 阅读 · 0 评论 -
bootstrap siderbar标签选中问题
bootstrap 侧边栏被选中后展开并<script> $('.nav-pills').find('a').each(function () { if (this.href == document.location.href || document.location.href.search(this.href) >= 0) { ...原创 2019-11-06 18:45:37 · 446 阅读 · 0 评论 -
JavaScript错误之:Uncaught ReferenceError: $ is not defined
JS:Uncaught ReferenceError: $ is not defined方法/步骤1.出现这个错误,最可能的是引用的各个js的调用顺序有误,重新调整其引用顺序看看能否解决?2.还有一个原因就是在你引用js时,路径出错,不是你项目中正确的文件路径。3.还有一个原因是你的js中有某些值是不存在的。4.除了以上这个具体的错误,还可能遇到类似的Uncaught Referenc...转载 2018-12-11 16:00:47 · 5330 阅读 · 0 评论