您现在的位置是:
    • layui报错s.parents is not a function

      问题描述: 使用tp5和layui提交表单返回显示内容时,显示的内容是正确的,但是也报错如下: 解决办法: 这是因为layer.msg的问题。添加一个return false;即可 ,success:function(data){ console.log(data); //....

      发布时间:2021-07-01 浏览量:
    • jquery实现点击返回顶部

      function gotoTop(acceleration,stime) { acceleration = acceleration || 0.1; stime = stime || 10; var x1 = 0; var y1 = 0; var x2 = 0; var y2 = 0; var x3 = 0; var y3 = 0; if (document.documentElement) { x1 = document.documentElement.scrollLeft || 0; y1 =....

      发布时间:2021-06-22 浏览量:
    • jquery 日期时间格式化,定时器

      问题描述: 一般网站上都有年月日时分秒,一秒一秒的走。还有星期。 解决办法: html: div id=time/div script: script$(function() { gettime(); setInterval(gettime,1000); }); var gettime=function(){ var myDate = new Date; ....

      发布时间:2021-06-19 浏览量:
    • bootstrap把小图片放大

      td class=openimg img style=width: 100px; cursor: default; class=showpic src=46d93f2b3d42a31.png alt= /td style type=text/css .carousel-inner{ width: 30%; } /style div id=ShowImage_Form class=modal hide div class=modal-header style=background-color: re....

      发布时间:2021-05-11 浏览量:
    • http转为https后样式乱了

      http转为https后样式乱了 本来是http的协议,后来添加了https协议,前台样式就乱了。 原来是因为样式和js没有调用出来。。我们需要在引入样式时添加https://www.xxx.com/css/new.css。....

      发布时间:2021-05-07 浏览量:
    • jquery实现禁用右键禁止复制

      body oncontextmenu=return false ondragstart=return false onselectstart =return false onselect=document.selection.empty() oncopy=document.selection.empty() onbeforecopy=return false onmouseup=document.selection.empty() 禁止鼠标右键:oncontextmen....

      发布时间:2021-04-26 浏览量: