两个字符串叠加,相同的只保留一个
public static void main(String[] args) { String number="151,155,158,159,156"; String mobile="151,155"; String[] array=mobile.split(",");&nbs...
dwr调用后台方法时进行同步
DWREngine.setAsync(false); //设置为同步请求 注意,同步请求将锁住浏览器,用户其它操作必须等待请求完成才可以执行。DWREngine.setAsync(true); &...
jQuery实现锁屏3(页面调用)
导入js<script. type="text/javascript" src="<%=path %>/js/lockScreen.js"></script> 写function调用<script. type="text/javascript" >function commend(){$().showLoading("overlay");}</script>&...
jQuery实现锁屏2(showLoading 续)
// Loading div var I="数据处理中,请稍后..."; var J=document.createElement("DIV"); document.body.appendChild(J); J.id="loadingDiv"; J.innerHTML="...
jQuery实现锁屏2(showLoading)
jQuery.fn.showLoading = function(overLayObjectId) { current = 0; setTimeout("changeTip()", 1000); //锁屏div var C=document.createElement("div"); ...
jQuery实现锁屏1(changeTip)
在lockScreen.js中写var current = 0; function changeTip() { current++; if(current == 10) { $("#lockScreen_strong_tipContent").html("数据量...