Expose the prperties of Objects : document « Javascript Objects « JavaScript DHTML
- JavaScript DHTML
- Javascript Objects
- document
Expose the prperties of Objects
<html>
<head>
<title>Expose the Objects</title>
</head>
<body>
<script type="text/javascript">
for (docprop in document) {
document.writeln(docprop + "=");
eval ("document.writeln(document." + docprop + ")");
document.writeln("<br />");
}
</script>
</body>
</html>
Related examples in the same category