阿吉

阿吉的笔记

来自张孝祥-JavaScript 05-01(0)

oncontentmenu="window.event.returnValue=false"

来自张孝祥-JavaScript 05-02(0)

setTimeoutsetIntervalalertnavigatemoveTo//移动浏览器顶点坐标resizeTo//改变浏览器大小open方法//打开窗口showModalDialog//打开模态对话框窗口showModelessDialog//非模态

来自张孝祥-JavaScript 05-03(0)

defaultstatus

来自张孝祥-JavaScript 05-04(0)

onload事件 //网页文档加载之后onunload事件//网页文档卸载之后onbeforeunload//网页文档卸载之前onclick,onmousemove,onmuouseover,onmouseout,onmousedown,onmouseup,onkeydown事件,onkeyup,onkeypress

来自张孝祥-JavaScript 07-01(0)

*多个字符,?单个字符regular expression元字符:\d{5}(-\d{4})?{5}表示循环5次。a(bc)?能匹配a和abc(\d)\1(\d)(\d)\2\1\d{}^开头 $结束 匹配一行*@163.com

来自张孝祥-JavaScript 04-10(0)

myStr.fontcolor("#333333");myStr.bold();myStr.big();myStr.anchor("part1");//<a name='part1'></a>myStr.link("javascript:;")bold,italics,blink,small,fontsizematch,search方法myStr.replace(/关键字/g,"替换关键字");myStr.split(".")//拆分字符串