Show objects inside Objects

[Total: 0    Average: 0/5]

here is a simple little routine to see what is inside an object

Body Code:

<script>
function showIt(_obj)
{
var s="";
for(var i in _obj)
s+=i+" * ";
alert(s);
}
showIt(document);
showIt(window);
</script>
<a href="javascript:showIt(document)">show document</a>

Times Viewed: 0

Leave a Reply

Your email address will not be published. Required fields are marked *