Javascript| Reference | object
Copy the following code to an HTM page with the following code:
<meta http-equiv= "Content-type" content= "text/html; charset=gb2312 ">
<title>javascript Objects </title>
<style>
<!--
body {font-family:verdana; font-size:11px}
th {font-family:verdana; Font-size:11px;padding:3px;color: #FFFFFF; Background-color: #999999;}
TD {Font-family:verdana; Font-size:11px;padding:3px;background-color: #EFEFEF;}
-->
</style>
<body style= "Overflow:auto;" topmargin=2 bgcolor=buttonface>
<object CLASSID=CLSID:CFCDAA03-8BE4-11CF-B84B-0020AFBBCCFA class=object id=realplayer width=0 height=0></ Object>
<button >document</button>
<button >navigator</button>
<button >event</button>
<button >Window</button>
<button >location</button>
<button >RealPlayer</button>
<a href= "http://www.webjx.com/"title=" link text > link text </A>
<input type= "Submit" Onclick=get (this) >
<script defer>
function Get (obj)
{
var str= "<table border=\" 0\ "cellpadding=\" 0\ "cellspacing=\" 1\ "bgcolor=\" #000000 \ ">"
for (var i in obj)
if (obj[i]!=null&obj[i]!= "[Object]")
str+= "<tr><td>" +i+ "</td><td>" +obj[i]+ "</td></tr>\n"
str+= "</table>"
showzone.innerhtml = (STR)
}
</script>
<br>
<div id=showzone></div>
</BODY>
</HTML>