做增加操作时使用: 有谁有这方面的源码备份能不能发个, 资料, 思路也可以. 没有做过这个功能.
解决方案 »
- JAVA下拉列表出现问题
- commons-logging与Log4j的问题
- struts2 的问题
- JBPM5.4初学Could not connect task client: on ip: 127.0.0.1 - port: 5153错误
- web服务如何读取配置诸如web.xml中的数据?
- ActionForm中如何取得<html:select>中当前选择的文本内容?
- 移动设备单点登录如何实现?
- 请问classes12.jar应该放在哪里才能用TOMCAT运行JSP
- 请问有用jdk1.4 和 jdbc 连接sqlserver成功的吗.
- EJB的事务问题
- ibatis 数据操作
- 有谁知道深圳塔塔信息技术有限公司
<SCRIPT LANGUAGE="JavaScript">function closeDiv(divname){
document.getElementById(divname).style.display='none';
}function openDiv(divname){
document.getElementById(divname).style.display='';
}function setFullLoading(){
var divid="full_loading";
var info="full_loading_info";
openDiv(divid);
openDiv(info);
var my_top=document.body.scrollTop;
document.getElementById(info).style.top=my_top+100;
document.getElementById(info).style.left=100; document.getElementById(divid).style.width= document.body.scrollWidth;
document.getElementById(divid).style.height=document.body.scrollHeight;
}function unsetFullLoading(info){
closeDiv("full_loading");
closeDiv("full_loading_info");
if(info&&info!="") alert(info);
}
window.onresize = function onResize() {
if(document.getElementById("full_loading").style.display=="none") return;
else setFullLoading();
}</SCRIPT><div id="full_loading" style="Z-INDEX: 99; POSITION: absolute;filter:alpha(opacity=50); background-color:#EEEEEE; width:100%; height:100%;left:0;top:0;display:none">
</div><div id="full_loading_info" style="Z-INDEX: 98; POSITION: absolute;filter:alpha(opacity=100);display:none;" width="100%" height="100%">
<TABLE width="100%" height="100%">
<TR width="100%">
<TD align="center"><INPUT TYPE="image" SRC="../image/loading.gif"></TD>
</TR>
</TABLE></div>
<SCRIPT LANGUAGE="JavaScript">
setFullLoading();
</SCRIPT>ajax
//读取数据
function getData(id,target){
setFullLoading();
var xmlReq =getXMLHttpRequest();
xmlReq.onreadystatechange = function(){
if(xmlReq.readyState == 4){
checkLogin(xmlReq.responseText);
document.getElementById(id).innerHTML =xmlReq.responseText;
unsetFullLoading();
}
}
xmlReq.open("GET",target, true);
xmlReq.send(null);
}