window对象和document对象

window对象:

window.alert

.setInterval每隔多少时间执行一次方法

.clearInterval清除id对应的setInterval

.setTimeOut每隔多少时间执行一次方法,只执行一次

 

document:onload,onunload,write......

 

posted @ 2015-06-05 15:06  阿玛  阅读(87)  评论(0编辑  收藏  举报