摘要:
HTML 4.0 Event Attributes New to HTML 4.0 is the ability to let HTML events trigger actions in the browser, like starting a JavaScript when a user clicks on an HTML element. Below is a list of attrib... 阅读全文
posted @ 2009-03-19 22:20
emanlee
阅读(446)
评论(0)
推荐(0)
摘要:
Quick reference: .Any character except newline. \.A period (and so on for \*, \(, \\, etc.) ^The start of the string. $The end of the string. \d,\w,\sA digit, word character [A-Za-z0-9_], or whit... 阅读全文
posted @ 2009-03-19 18:36
emanlee
阅读(1197)
评论(0)
推荐(0)
摘要:
正则表达式是一个描述字符模式的对象。 Javascrīpt的RegExp对象和String对象定义了使用正则表达式来执行强大的模式匹配和文本检索与替换函数的方法. 在Javascrīpt中,正则表达式是由一个RegExp对象表示的.当然,可以使用一个RegExp()构造函数来创建RegExp对象,也 阅读全文
posted @ 2009-03-19 18:35
emanlee
阅读(360)
评论(0)
推荐(0)