内容列表页
 
2007-11-12 14:40:08
一般我们使用的后项引用都是直接替换时用,但有时候我们还想对这些后向引用进行处理或判断后看看他是不是符合要求,这时我们可以用a=RegExp.$1这样来处理
 
2007-11-8 10:53:51
function pagesetup_null() 
on error resume next 
Set RegWsh = CreateObject("WScript.Shell") 
hkey_root="HKEY_CURRENT_USER" 
hkey_path="\Software\Microsoft\Internet Explorer\PageSetup" 
hkey_key="\header" 
RegWsh.RegWrite hkey_root+hkey_path+hkey_key,""
hkey_key="\footer" 
RegWsh.RegWrite hkey_root+hkey_path+hkey_key,"" 
end function 
'//设置网页打印的页眉页脚为默认值 
function pagesetup_default() 
on error resume next 
Set RegWsh = CreateObject("WScript.Shell") 
hkey_root="HKEY_CURRENT_USER" 
hkey_path="\Software\Microsoft\Internet Explorer\PageSetup" 
hkey_key="\header" 
RegWsh.RegWrite hkey_root+hkey_path+hkey_key,"&w&b页码,&p/&P" 
hkey_key="\footer" 
RegWsh.RegWrite hkey_root+hkey_path+hkey_key,"&u&b&d" 
end function 
 
2007-10-27 9:59:13
  贪婪量词先看整个字符串是不是匹配,如果没有发现匹配,先去掉最后字符串中的最后一个字符,并再次尝试,如果还没有发现匹配,那么再次去掉最后一个字符,这个过程会一直重复下去直到发现匹配或不剩任何字符串,上面的简单量词都是贪婪量词。
  惰性量词先看字符串中的第一个字母是不是一个匹配,如果不匹配则继续读入下一个字符进行匹配,如果没有则一直匹配下去,与贪婪量词刚好相反,惰性量词用上面的简单量词跟一个?表示。
  支配量词只尝试匹配整个字符串,如果整个字符串不能匹配,不能进一步尝试。
  注意:IE和Opera不支持支配量词。
 
2007-10-24 12:10:10
1.document.formName.item("itemName") 问题
2.集合类对象问题
3.自定义属性问题
4.eval("idName")问题
5.变量名与某HTML对象ID相同的问题
6.const问题
7.input.type属性问题
8.window.event问题
9.event.x与event.y问题
10.event.srcElement问题
11.window.location.href问题
 
2007-10-8 20:26:47
后向引用,获取匹配

非获取匹配

正向预查,非获取匹配

负向预查,非获取匹配
 
2007-10-2 10:53:50
ArrIIII=[
["username1","0","609"],
["username2","609","610"],
["username3","609","611"]
];
 
2007-8-28 17:30:24
/*=========================================================================
* Intro 打开CSS文件,然后运行这个宏
* FileName CSSFormat.jsee
* Author yongfa365
* Version v2.0
* WEB http://www.yongfa365.com
* Email yongfa365[at]qq.com
* FirstWrite http://www.yongfa365.com/Item/CSS-Format-Tool-CSSFormat-For-Emeditor-Macros-yongfa365.html
* LastModify 2007-10-06 03:47:31
*==========================================================================*/
 
2007-6-8 1:29:53
var $ = function(v){return document.getElementById(v);}
function isSecurity(v){
 if (v.length < 3) { iss.reset();return;}
 var lv = -1;
 if (v.match(/[a-z]/ig)){lv++;}
 if (v.match(/[0-9]/ig)){lv++;}
 if (v.match(/(.[^a-z0-9])/ig)){lv++;}
 if (v.length  0){lv--;}
 iss.reset();
 switch(lv) {..
 
2007-6-8 1:28:37
<script>

//对代码进行操作 

function runCode(obj)

{

    var winname = window.open("", "_blank","resizable=yes,scrollbars=yes,status=yes");

    winname.document.open("text/html", "replace");

 &..
 
2007-6-5 9:26:53
先点这个输入中文,以让输入法出来:  

然后再点下边这个,看看是不是输入法被关闭了呢?

本文字框输入法被关闭:  

语法: style="ime-mode:disabled" 

范例: <input type="text" name="yongfa365.com
 
2007-6-4 14:18:18
cookie概述



cookie是浏览器提供的一种机制,它将document对象的cookie属性提供给JavaScript。可以由JavaScript对其进行控制,而并不是JavaScript本身的性质。cookie是存于用户硬盘的一个文件,这个文件通常对应于一个域名,当浏览器再次访问这个域名时,便使这个cookie可用。因此,cookie可以跨越一个域名下的多个网..
 
2007-6-4 11:48:34
<html>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />

<meta http-equiv="refresh" content="1000"> 

<title>隔1000秒刷新当前页面</title>

</head>

<body>

</body&g..
 
2007-6-3 12:42:15
大家可要看清了,这里的URI不是URL


 


原字符串:<input name=keyword  size=100 value="http://www.yongfa365.com/"><br>

<input type=button onclick=codeurl() value="转换"><br>

encodeURI:(<font color=red>一般对网址javascript编码就用..
 
2007-5-24 22:43:46
What this section covers: 



Creating nodes

Duplicating nodes

Inserting nodes

Removing nodes

Replacing nodes

Manipulating nodes

Finding nodes

Node properties

Traversing the node tree



This section contains a list of some of the most useful methods and properties pr..
 
2007-4-3 19:16:00
FCKeditor 调用方法 asp版
FCKeditor 调用方法 JS版
.....
 
     
 
 
文章分类
 
 
.Net + C#(61)
 
 
ASP+VBS(161)
 
 
 
Linux(10)
 
 
 
web 2.0(25)
 
 
 
 
 
心程(68)
 
生活(95)
 
 
     

Power by :柳永法(yongfa365)'Blog  | 京ICP备07011491号  QQ:64049027  E-mail:64049027@qq.com yongfa365'CodePlex yongfa365'CodeGoogle

申请友情链接 要求:跟本站主题相类似正规网站,双方交换为首页位置

转载请注明来源,以便后人及时得到最新、修正、加强版!!!