随笔分类 -  bug积累

摘要:indexOf()方法可返回某个指定的字符串值在字符串中首次出现的位置。 ①对大小写敏感 ②如果要检索的字符串值没有出现,则该方法返回-1. ③位置时从0开始的 $j(this).html().indexOf() 补充:lastIndexOf(),substring(),charCodeAt() c 阅读全文
posted @ 2017-08-28 15:17 快乐的小太阳 阅读(265) 评论(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 快乐的小太阳 阅读(1404) 评论(0) 推荐(0)
摘要:window.onload事件设置页面加载时执行的动作,即进入页面的时候执行的动作。 window.onunload已经从服务器上读到了需要加载的新的页面,在即将替换掉当前页面时调用 一般用于设置当离开页面以后执行的动作。 window.onbeforeunload是正要去服务器读取新的页面时调用, 阅读全文
posted @ 2017-08-23 17:37 快乐的小太阳 阅读(340) 评论(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 快乐的小太阳 阅读(300) 评论(0) 推荐(0)
摘要:select listagg(字段名 ,',') within group (order by 字段名) from表 where 条件 listagg():列转行 WM_CONCAT():和并列函数 注意:oracle11中有wm_concat()函数, oracle12中已经摒弃了,可以使用lis 阅读全文
posted @ 2017-08-23 16:43 快乐的小太阳 阅读(269) 评论(0) 推荐(0)