JavaScript操作BOM对象

BOM:浏览器对象模型(Browser Object Model )

  

 

windows对象

  

  

 confirm()方法

  

  confirm()与alert()、prompt()的区别

     

 open()方法

  

history对象

  

location对象

  

  

document对象

  

  

 实例

  

 getElementById()改变层、标签中的内容

  

 getElementsByName()访问相同name的元素

  

 getElementByTagName()访问相同标签的元素

  

内置对象

  

 Date对象

  

  

  

 Math对象

  

定时函数

 setTimeout()方法

  

 setInterval()方法

  

清除定时函数

 clearTimeout()方法

  

 clearInterval()方法

  

原文地址:https://www.cnblogs.com/xhddbky/p/9205604.html