- 博客(3)
- 收藏
- 关注
转载 js输出日期格式化
//日期格式化 Date.prototype.Format = function(fmt) { var o = { "M+" : this.getMonth() + 1, "d+" : this.getDate(), "h+" : this...
2017-04-03 23:06:00 237
转载 js同时替换多个字符串
<script> var s="my javascript is very poor,who can help me?" var reg=/(\w*)my(.*)is(.*)can(.*)/g alert(s.replace(reg,"$1his$2was$3could$4")); </script> 参考链接...
2017-04-03 22:06:00 2442
转载 js读取文本内容
<!DOCTYPE html> <html> <head> </head> <body> jsReadFile:<input type="file" onchange="jsReadFiles(this.files)"/> <button onclick="jsReadFiles();">...
2017-03-29 19:07:00 338
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人