随笔分类 - bug积累
摘要:indexOf()方法可返回某个指定的字符串值在字符串中首次出现的位置。 ①对大小写敏感 ②如果要检索的字符串值没有出现,则该方法返回-1. ③位置时从0开始的 $j(this).html().indexOf() 补充:lastIndexOf(),substring(),charCodeAt() c
阅读全文
摘要:$(document).ready(function() { $('.datatable').dataTable( { "Language": {"sUrl": "page_zh_CN.json"} });<table class="table table-striped table-bordere
阅读全文
摘要:window.onload事件设置页面加载时执行的动作,即进入页面的时候执行的动作。 window.onunload已经从服务器上读到了需要加载的新的页面,在即将替换掉当前页面时调用 一般用于设置当离开页面以后执行的动作。 window.onbeforeunload是正要去服务器读取新的页面时调用,
阅读全文
摘要:$j("#tabs").tabs({ beforeActivate:function(event,ui){ var ret = apoCheck('${requestScope.apoEntryForm.updateKey}'); if(!ret){return false;}} }) check不
阅读全文
摘要:select listagg(字段名 ,',') within group (order by 字段名) from表 where 条件 listagg():列转行 WM_CONCAT():和并列函数 注意:oracle11中有wm_concat()函数, oracle12中已经摒弃了,可以使用lis
阅读全文

浙公网安备 33010602011771号