页面提交时,防止重复提交,创建遮盖层

xiaoxiao2026-08-24  15

function wait() { var div = document.createElement("DIV"); div.id = "UnderLay"; div.name = "UnderLay"; //div1.style.width=screen.width; //div1.style.height=screen.height; document.body.appendChild(div); // hide div.style.display = "none"; div.onfocus = function(){} div.onclick = function(){} div.style.display = "";} #UnderLay { position: absolute; width: 110%; height: 110%; cursor: wait; bottom: 0; right: 0; z-index: 500; /* dessus les popups */ background: white; filter: alpha(opacity=50); opacity: .5; } 相关资源:jquery-showloading遮罩层-防重复提交
转载请注明原文地址: https://www.6miu.com/read-5051769.html

最新回复(0)