[参]Javascript对象的层次结构

这是一个Javascript对象的层次结构图

 

javascript中对象的层次结构

 关于上图中javascript对象的属性,方法和事件对照表如下:

对象 属性 方法  事件
Window defaultStatus
frames
opener
parent
scroll
self
status
top
window
alert
blur
close
confirm
focus
open
prompt
clearTimeout
setTimeout
onLoad
onUnload
onBlur
onFocus
Frame defaultStatus
frames
opener
parent
scroll
self
status
top
window
alert
blur
close
confirm
focus
open
prompt
clearTimeout
setTimeout
Location hash
host
hostname
href
pathname
por
protocol
search
reload()
replace()
History length
forward
go
back
Navigator appCodeName
appName
appVersion
mimeTypes
plugins
userAgent
javaEnabled
document alinkColor
anchors
applets
area
bgColor
cookie
fgColor
forms
images
lastModified
linkColor
links
location
referrer
title
vlinkColor
clear
close
open
write
writeln
image border
complete
height
hspace
lowsrc
name
src
vspace
width
form action
elements
encoding
FileUpload
method
name
target
submit
reset
onSubmit
onReset
text defaultValue
name
type
value
focus
blur
select
onBlur
onCharge
onFocus
onSelect

 在实际使用中,本文可以作为参考。

Sunday, November 11, 2012 | Javascript(s)

文章评论

No comments posted yet.

发表评论

Please add 6 and 7 and type the answer here:

关于博主

  一枚成分复杂的网络IT分子,属于互联网行业分类中的杂牌军。