(function($) {var plugName = "teamMingXi";var teamMingXi ={
open :
function(type) {var basepath=this.basePath;var winTitle=this.winTitle;var url=this.url;var widthVal = "1190px";//定义全局默认宽高 var heightVal = "300px";var paramId = this.paramId;if(type=="createWin"){
createwindow(winTitle, basepath
+url,function(){//保存之后的回调 },{width:widthVal,height:heightVal});
}




}
};
teamMingXi.basePath
="";
teamMingXi.paramId
="";
teamMingXi.url
="";
teamMingXi.winTitle
="";
eval(
"window."+plugName+"=teamMingXi;");


})(jQuery);


方法调用:
functionopen11(target){
teamMingXi.basePath
="<%=basePath %>";
teamMingXi.paramId
="402881e3411f39f301412041fb6a0021";
teamMingXi.open(target);
}

 

可以使用
http://commons.apache.org/ 
apche commons包下的工具类方便操作,比如文件copy、上传,bean属性copy。



function jisuan(){
	var jiaoqiangxianjine = $("#jiaoqiangxianjine").val()!=""?$("#jiaoqiangxianjine").val():"0";
	var shangyexianjine = $("#shangyexianjine").val()!=""?$("#shangyexianjine").val():"0";
	var jiaoqiangxianjine3 = $("#jiaoqiangxianjine3").val()!=""?$("#jiaoqiangxianjine3").val():"0";
	var abc=parseFloat(jiaoqiangxianjine)+parseFloat(shangyexianjine)+parseFloat(jiaoqiangxianjine3);
    $("#insurancemoney").val(abc.toFixed(2));
}

  

免责声明
本博客部分内容来自于互联网,不代表作者的观点和立场,如若侵犯到您的权益,请联系238611804@139.com。我们会在24小时内进行删除。