Initial commit
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>Happy Codings :-) JavaScript Code Examples</title>
|
||||
<script language="JavaScript">
|
||||
<!--
|
||||
function showResults(obj, name) {
|
||||
document.writeln("<table cellpadding=5 border=1><tr><td align=middle><b><font size=-1>" + name + "</font></b></td></tr>");
|
||||
for (i in obj) {
|
||||
document.writeln("<td><font size=-1>" + i + "</font></td>");
|
||||
document.writeln("</table><p>");
|
||||
}
|
||||
}
|
||||
showResults(document, "document");
|
||||
showResults(window, "window");
|
||||
//-->
|
||||
</script>
|
||||
</head>
|
||||
</html>
|
||||
Reference in New Issue
Block a user