摘要: <!--5f39ae17-8c62-4a45-bc43-b32064c9388a:W3siYmxvY2tJZCI6IjgxdGJ5aDE0OTAyMzU2NjQ2MzQiLCJibG9ja1R5cGUiOiJwYXJhZ3JhcGgiLCJzdHlsZXMiOnsiYWxpZ24iOiJsZWZ0I 阅读全文
posted @ 2019-04-14 18:14 那些年的代码 阅读(195) 评论(0) 推荐(0)
摘要: 构造器Constructor是否可被override构造器Constructor不能被继承,因此不能重写Overriding,但可以被重载Overloading 首先,构造器是不能被继承的,因为每个类的类名都不相同,而构造器名称与类名相同,所以根本谈不上继承。 又由于构造器不能继承,所以就不能被重写 阅读全文
posted @ 2019-04-14 18:11 那些年的代码 阅读(510) 评论(0) 推荐(0)
摘要: 总结以上内容,可以得到对象初始化过程: 1、 如果存在继承关系,就先父类后子类; 2 、如果在类内有静态变量和静态块,就先静态后非静态,最后才是构造函数; 3 、继承关系中,必须要父类初始化完成后,才初始化子类。 阅读全文
posted @ 2019-04-14 18:08 那些年的代码 阅读(454) 评论(0) 推荐(0)
摘要: 页面 <th width="15%">国际分类号</th><td width="30%"> <select class="easyui-combobox" id="int_cls" name="int_cls"> </select> </td> JS $("#int_cls").combobox({ 阅读全文
posted @ 2019-04-14 18:07 那些年的代码 阅读(298) 评论(0) 推荐(0)
摘要: <tr id="yinchang" style="display: none"></tr> $("#yinchang").css("display",''); $("#yinchang").css("display",'none'); $('#jyzjg').combobox('clear'); 阅读全文
posted @ 2019-04-14 17:59 那些年的代码 阅读(129) 评论(0) 推荐(0)
摘要: var cityId = $('#jyzjg').combobox({ disabled:true, }); cityId.remove(); 阅读全文
posted @ 2019-04-14 17:58 那些年的代码 阅读(396) 评论(0) 推荐(0)
摘要: $("#ajname").textbox("setValue",name); $("#jyzjg").combobox("setValue",prov); $("#jyzjg").combobox("getValue"); 清空某个id的值 $('#jyzjg').combobox('clear') 阅读全文
posted @ 2019-04-14 17:58 那些年的代码 阅读(960) 评论(0) 推荐(0)
摘要: 比如<select class="selector"></select> 1、设置value为“全部“的项选中 复制代码代码如下: $(".selector").val("全部"); 2、设置text为“全部“的项选中 复制代码代码如下: $(".selector").find("option[te 阅读全文
posted @ 2019-04-14 17:57 那些年的代码 阅读(1578) 评论(0) 推荐(0)
摘要: 实现区县和街道二级关联 var qxj = document.getElementById('map_qyssqx'); getStandCodeTableResult('qxdm','011',qxj,1); if('${map.qyssqx}'!=''){ document.getElement 阅读全文
posted @ 2019-04-14 17:55 那些年的代码 阅读(194) 评论(0) 推荐(0)
摘要: $('#jyzjg').combobox('clear'); alert($('#jyzjg').combobox("getValue")); 阅读全文
posted @ 2019-04-14 17:55 那些年的代码 阅读(512) 评论(0) 推荐(0)
摘要: JS回显 var jksp=document.getElementsByName("spjdcyModel.jksp"); // alert(jksp[0].value); //alert(jksp[1].value); for(var i=0;i<jksp.length;i++){ if(jksp 阅读全文
posted @ 2019-04-14 17:49 那些年的代码 阅读(1943) 评论(0) 推荐(0)
摘要: if(!!window.parent.opener.window.jxxcyjcx) { window.parent.opener.window.jxxcyjcx(cydh); } 若父页面有jxxcyjcx()方法时候才会执行里面的方法,就是判断一下 阅读全文
posted @ 2019-04-14 17:48 那些年的代码 阅读(332) 评论(0) 推荐(0)
摘要: <c:forEach items="${listtest}" var="provinces"> <input type="checkbox" name="map.zffwmc" value="${provinces.CODE}" <c:forEach items="${listspfl}" var= 阅读全文
posted @ 2019-04-14 17:00 那些年的代码 阅读(344) 评论(0) 推荐(0)
摘要: var qxs = document.getElementsByName("qx"); for(var i=0;i<qxs.length;i++){ var e=qxs[i]; e.checked=!e.checked; } <!--5f39ae17-8c62-4a45-bc43-b32064c93 阅读全文
posted @ 2019-04-14 16:59 那些年的代码 阅读(445) 评论(0) 推荐(0)
摘要: function fnqd(zj,rwmc){ window.parent.opener.document.getElementById("jcrwModel_sjrwzj").value=zj; window.parent.opener.document.getElementById("jcrwM 阅读全文
posted @ 2019-04-14 16:52 那些年的代码 阅读(378) 评论(0) 推荐(0)
摘要: var ytfl=document.getElementsByName("jcrwModel.ytfl"); var jg='${jcrwModel.ytfl}'; for(var i=0;i<ytfl.length;i++){ if(jg.indexOf(ytfl[i].value)>-1){ y 阅读全文
posted @ 2019-04-14 16:51 那些年的代码 阅读(419) 评论(0) 推荐(0)
摘要: $("input[type='text']").attr("readonly","readonly"); $("textarea").attr("readonly","readonly"); $("select").attr("disabled", "disabled"); $("input[typ 阅读全文
posted @ 2019-04-14 16:45 那些年的代码 阅读(409) 评论(0) 推荐(0)
摘要: 说出Servlet的生命周期,并说出Servlet和CGI的区别。 山治ZHrx5 | 浏览 1377 次 推荐于2016-09-16 22:39:19 最佳答案 Servlet的生命周期分为5个阶段:实例化:Servlet容器创建Servlet类的实例。初始化:该容器调用init()方法,通常会申 阅读全文
posted @ 2019-04-14 16:45 那些年的代码 阅读(1030) 评论(0) 推荐(0)
摘要: var xmlHttpRequest; function fnquery(){ var cypz = '${cpcyModel.cypz}'; var ajx = 'true'; xmlHttpRequest = new XMLHttpRequest(); xmlHttpRequest.onread 阅读全文
posted @ 2019-04-14 16:34 那些年的代码 阅读(1240) 评论(0) 推荐(0)
摘要: oracle中时间格式时候的大于号是大于和等于的意思 阅读全文
posted @ 2019-04-14 16:34 那些年的代码 阅读(2458) 评论(0) 推荐(0)
摘要: 当对字符串进行修改的时候,需要使用 StringBuffer 和 StringBuilder 类。 和 String 类不同的是,StringBuffer 和 StringBuilder 类的对象能够被多次的修改,并且不产生新的未使用对象。 StringBuilder 类在 Java 5 中被提出, 阅读全文
posted @ 2019-04-14 16:32 那些年的代码 阅读(148) 评论(0) 推荐(0)
摘要: excel被保护或者锁定时候按住alt和enter可以输入换行 阅读全文
posted @ 2019-04-14 16:30 那些年的代码 阅读(454) 评论(0) 推荐(0)
摘要: String sfck=mp.get("SFCK")==null?"":mp.get("SFCK").toString(); String sfckEXIST="是,否"; String[] sfckEXISTARRAY = sfckEXIST.split(","); if(!ArrayUtils. 阅读全文
posted @ 2019-04-14 16:29 那些年的代码 阅读(153) 评论(0) 推荐(0)
摘要: excel中在某一列上的所有单元格的前后增加数字汉字字符等东西的函数这样写 “东西”&哪一列&“东西” 例如 “1111”&E1&“3333” 阅读全文
posted @ 2019-04-14 13:54 那些年的代码 阅读(842) 评论(0) 推荐(0)
摘要: ROUND() 函数 ROUND 函数用于把数值字段舍入为指定的小数位数。 SQL ROUND() 语法 SELECT ROUND(column_name,decimals) FROM table_name 参数 描述 column_name 必需。要舍入的字段。 decimals 必需。规定要返回 阅读全文
posted @ 2019-04-14 13:53 那些年的代码 阅读(915) 评论(0) 推荐(0)
摘要: http://blog.csdn.net/kofandlizi/article/details/7323863 阅读全文
posted @ 2019-04-14 13:53 那些年的代码 阅读(271) 评论(0) 推荐(0)
摘要: decode(条件,值1,返回值1,值2,返回值2,...值n,返回值n,缺省值) 该函数的含义如下: IF 条件=值1 THEN RETURN(翻译值1) ELSIF 条件=值2 THEN RETURN(翻译值2) ...... ELSIF 条件=值n THEN RETURN(翻译值n) ELSE 阅读全文
posted @ 2019-04-14 13:53 那些年的代码 阅读(1404) 评论(0) 推荐(0)
摘要: wm_concat函数 首先让我们来看看这个神奇的函数wm_concat(列名),该函数可以把列值以","号分隔起来,并显示 阅读全文
posted @ 2019-04-14 13:52 那些年的代码 阅读(685) 评论(0) 推荐(0)
摘要: List<TjfxDTO> cyjbList = new ArrayList<TjfxDTO>(); cyjbList=tjfxService.cyjb_wcjd(tjfxDTO); if(cyjbList != null && cyjbList.size()>0){ for(int i=0;i<c 阅读全文
posted @ 2019-04-14 13:50 那些年的代码 阅读(613) 评论(0) 推荐(0)
摘要: 返回的map对象在!=null的时候有两种情况,一种是没有数据 返回的是{},另外一种是有数据。 判断的时候map!=null&&!map.isEmpty() <!--5f39ae17-8c62-4a45-bc43-b32064c9388a:W3siYmxvY2tJZCI6IjgydWZydzE0O 阅读全文
posted @ 2019-04-14 12:14 那些年的代码 阅读(433) 评论(0) 推荐(0)