摘要: $("#tableData tr:gt(0)").each(function() { }//橘色部分是查找id为tableData的DataTable里面除第一行以外的行 阅读全文
posted @ 2018-06-20 09:23 快乐的小太阳 阅读(98) 评论(0) 推荐(0) 编辑
摘要: indexOf()方法可返回某个指定的字符串值在字符串中首次出现的位置。 ①对大小写敏感 ②如果要检索的字符串值没有出现,则该方法返回-1. ③位置时从0开始的 $j(this).html().indexOf() 补充:lastIndexOf(),substring(),charCodeAt() c 阅读全文
posted @ 2017-08-28 15:17 快乐的小太阳 阅读(243) 评论(0) 推荐(0) 编辑
摘要: $(document).ready(function() { $('.datatable').dataTable( { "Language": {"sUrl": "page_zh_CN.json"} });<table class="table table-striped table-bordere 阅读全文
posted @ 2017-08-28 09:59 快乐的小太阳 阅读(1362) 评论(0) 推荐(0) 编辑
摘要: window.onload事件设置页面加载时执行的动作,即进入页面的时候执行的动作。 window.onunload已经从服务器上读到了需要加载的新的页面,在即将替换掉当前页面时调用 一般用于设置当离开页面以后执行的动作。 window.onbeforeunload是正要去服务器读取新的页面时调用, 阅读全文
posted @ 2017-08-23 17:37 快乐的小太阳 阅读(318) 评论(0) 推荐(0) 编辑
摘要: $j("#tabs").tabs({ beforeActivate:function(event,ui){ var ret = apoCheck('${requestScope.apoEntryForm.updateKey}'); if(!ret){return false;}} }) check不 阅读全文
posted @ 2017-08-23 16:50 快乐的小太阳 阅读(280) 评论(0) 推荐(0) 编辑
摘要: select listagg(字段名 ,',') within group (order by 字段名) from表 where 条件 listagg():列转行 WM_CONCAT():和并列函数 注意:oracle11中有wm_concat()函数, oracle12中已经摒弃了,可以使用lis 阅读全文
posted @ 2017-08-23 16:43 快乐的小太阳 阅读(250) 评论(0) 推荐(0) 编辑
摘要: 2。下载文件 阅读全文
posted @ 2017-06-29 16:32 快乐的小太阳 阅读(166) 评论(0) 推荐(0) 编辑
摘要: jquery 1.$("#id").css("display") 2.$(this) 3.attr(a,b) :在a里面追加元素b 4.prop: function(obj,objArr){ if(($(obj).attr("type") == "checkbox" && $j(obj).prop( 阅读全文
posted @ 2017-06-28 15:13 快乐的小太阳 阅读(175) 评论(0) 推荐(0) 编辑
摘要: <a href = '#' onclick ='javascript:window.clipboardData.setData('text','${form.param}');alert('クリップボードにコピーしました');'></a> href = '#' :无意义 window.clipboa 阅读全文
posted @ 2017-06-28 10:34 快乐的小太阳 阅读(216) 评论(0) 推荐(0) 编辑
摘要: ①ROWNUM查询分页通式 /* * firstIndex:起始索引 * pageSize:每页显示的数量 * sql:可以是简单的单表查询语句,也可以是复杂的多表联合查询语句 */select * from(select a.*,ROWNUM rn from(sql) a where ROWNUM 阅读全文
posted @ 2017-06-27 15:28 快乐的小太阳 阅读(159) 评论(0) 推荐(0) 编辑