• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
开水房
ASP.NET
博客园    首页    新随笔    联系   管理    订阅  订阅
上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 26 下一页
2010年7月6日
javascript RegExp
摘要: var str="Is this all there is?";var patt1=/is/g;1. match  str.match(patt1);2. test  patt1.test(str);3. exec  patt1.exec(str); 阅读全文
posted @ 2010-07-06 14:39 白开水皮皮 阅读(125) 评论(0) 推荐(0)
javascript Array Object Methods
摘要: Array Object MethodsMethodDescriptionconcat()Joins two or more arrays, and returns a copy of the joined arraysjoin()Joins all elements of an array into a stringpop()Removes the last element of an arra... 阅读全文
posted @ 2010-07-06 14:21 白开水皮皮 阅读(232) 评论(0) 推荐(0)
javascript break up a code line within a text string with a backslash.
摘要: document.write("Hello \World!");var a = "aasdf\ddd\ddd"; 阅读全文
posted @ 2010-07-06 14:00 白开水皮皮 阅读(150) 评论(0) 推荐(0)
javascript try catch throw
摘要: <script type="text/javascript">var x=prompt("Enter a number between 0 and 10:","");try { if(x>10) { throw "Err1"; } else if(x<0) { throw "Err2"; } else if(isNaN(x)) { throw "Err3"; } }catc... 阅读全文
posted @ 2010-07-06 13:57 白开水皮皮 阅读(586) 评论(0) 推荐(0)
javascript for...in statement
摘要: <html><body><script type="text/javascript">var x;var mycars = new Array();mycars[0] = "Saab";mycars[1] = "Volvo";mycars[2] = "BMW";for (x in mycars) { document.write(mycars[x] + "<... 阅读全文
posted @ 2010-07-06 13:36 白开水皮皮 阅读(217) 评论(0) 推荐(0)
javascript box
摘要: 1. alert("message")2. var r = confirm("are you sure to continue?");  if(r == true)  {...}3. var name = prompt("Please enter your name","Harry Potter");  //prompt("sometext","defaultvalue");  if(name !... 阅读全文
posted @ 2010-07-06 13:29 白开水皮皮 阅读(162) 评论(0) 推荐(0)
javascript output str to browser
摘要: In my experience, there are two way to change the browser content.1. document.getElementById(ojbid).innerHTML = "" to change the object content2.document.write("<h1>" + name + "</h1>") to ... 阅读全文
posted @ 2010-07-06 11:44 白开水皮皮 阅读(154) 评论(0) 推荐(0)
javascript prototype
摘要: In javascript, there is prototype for all function(Class). prototype could be a property or function. All the instance of the function(Class) inherit the property.There is one thing we need to pay att... 阅读全文
posted @ 2010-07-06 11:39 白开水皮皮 阅读(208) 评论(0) 推荐(0)
2010年6月24日
java 移位处理
摘要: 转载:http://blog.csdn.net/wangming7306/archive/2007/05/22/1621609.aspxJava的移位操作(收集+纠正)此收集来源于网络收集,是我整理、纠正以及排版,来为大家提供全面一点的知识讲解,可能有些地方排的不好,望谅解。==============================================================... 阅读全文
posted @ 2010-06-24 14:26 白开水皮皮 阅读(240) 评论(0) 推荐(0)
2010年5月17日
批处理 控制 服务
摘要: 在这个批处理文件中,清一色使用的是“sc config”命令。在命令提示符里查看SC命令的帮助,描述此项命令是与NT服务及各种系统服务进行通迅的一个工具,其中的config参数,是用来配置各项服务的状态的。每个start(开始)后面的参数,有DISABLED(禁用)、AUTO(自动)、DEMAND(手动)三种状态选择。注意:本批处理文件来源于网络,因条件所限,未能一一测试。... 阅读全文
posted @ 2010-05-17 10:04 白开水皮皮 阅读(186) 评论(0) 推荐(0)
上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 26 下一页
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3