history对象包含用户访问过的URL,属于window对象的一部分,传统的使用中,它拥有length属性(浏览器历史列表URL数目) 及back()、forward()、go()方法。 而新的H5则赋予了其更多的新特性: 往返缓存 默认情况下,浏览器会缓存当前会话页面,这样当下一个页面点击后退按 ...
分类:
其他好文 时间:
2017-10-09 17:40:28
阅读次数:
160
new Date()兼容IEvar date = new Date(strDate.replace(/-/g, "/")); 格式化时间Date.prototype.format = function(format) { /* * format="yyyy-MM-dd hh:mm:ss"; */ v ...
分类:
其他好文 时间:
2017-10-09 16:47:02
阅读次数:
302
清除SQL数据库中文本字段的回车、换行符的方法 清除回车符: update tableName set columnName = rtrim(ltrim(replace(columnName ,char(13),''))) 清除换行符: update tableName set columnName ...
分类:
数据库 时间:
2017-10-09 15:31:19
阅读次数:
213
--有些时时候需要提交别人你写的job脚本,用下面的存储就可以在命令窗口模式下输出全部的job代码;set serveroutput on size 1000000; create or replace procedure proc_generate_job_create_sql is begin ... ...
分类:
数据库 时间:
2017-10-09 13:12:27
阅读次数:
240
//object 装json格式字符串 public static string ObjectToJsonString(this object obj) { return JsonConvert.SerializeObject(obj).Replace("\r\n", ""); } //json字符 ...
分类:
Web程序 时间:
2017-10-09 13:03:11
阅读次数:
159
Symbols and ops generation: Work estimate: - Implement all major built-in ops in GLSL (340+ functions) - Implement a GLSL backend to replace LLVM_Util ...
分类:
其他好文 时间:
2017-10-09 02:10:26
阅读次数:
211
python 计算器代码 1 import re 2 def add_sub(a_s): 3 if '--'in a_s: 4 a_s=a_s.replace('--','+') 5 a_s=re.findall('\-?\d+\.?\d*',a_s) 6 ls=[] 7 for i in rang ...
分类:
编程语言 时间:
2017-10-08 22:42:28
阅读次数:
251
可将 进行拆分 嵌套使用replace方法 ...
分类:
数据库 时间:
2017-10-08 18:55:10
阅读次数:
212
-- Flat File Unload create or replace package unloader AUTHID CURRENT_USER as /* Function run -- unloads data from any query into a file and creates a... ...
分类:
数据库 时间:
2017-10-07 20:42:21
阅读次数:
248
解决方法: sqlplus / as sysdba grant create view to scott conn scott/tiger CREATE OR REPLACE VIEW myview AS ...
分类:
数据库 时间:
2017-10-07 19:45:32
阅读次数:
197