Languages Java Debugging and Error Handling  

List ALL properties for ANY object

download download  
important code information
author:
Martin Budden
minimum requirements:
List ALL properties for ANY object description

A new window is opened, with a table listing all available properties with values for your object.


Ever wanted to know what properties your object actually has, and what the values are? Just follow the 3 simple steps below and all will be revealed!

1. Save the files:
props.js
props.htm
in the same folder as your web page.

2. Add the line:
<SCRIPT language="Javascript" src="props.js"></SCRIPT>
to your document's header.

3. Add a line to your JavaScript like this:
props(myObject)

where myObject is an object reference. This could be a variable holding an object reference, or a simple reference itself such as document.forms[0]

When you call the props function a new window will open, with a table listing all available properties with values for your object.

p.s. Try it with a different browser - you'll find that some properties are the same, but some are different.


File List:
READ ME.txt1Kb
example.htm1Kb
props.htm0b
props.js1Kb

Similar code
J2ME Prevent Screen Lock-ups (Popularity: ) : Preventing Screen Lockups of Blocking Operations by Qusay H. Mahmoud When you're developing networking MIDlets, pay special attention to blocking operations, such as methods that establish a connection to the network. These can lock up the screen, leaving your user ...
FlyFormX (Popularity: ) : Generates html forms dynamically from xml description files

Development Tools v1.10 (Popularity: ) : Updated Dec 12, 2002: This is a great tool for the advanced web developer, especially when complicated javascript is involved. This allows you to dynamically view information about things going on inside your web page. Some of the features include: ...
Simple Compiler (Popularity: ) : This is just Simple Compiler demo program which i h required to build for my Programming Language subject. Its use string tokenizer class! Programming Language syntaxt look like this Start Set variablename As datatype End Example Start Set i As ...
GNU Spell Checker (Popularity: ) : This is a simple spell checker that can function on plane text and XML documents. They can be in files or online. This could help you identify spelling problems in XHTML web pages.
User reviews

Write a review:
1 2 3 4 5 6 7 8 9 10
1=poor 10=excellent
Write review*
Your name*
Email*
  (Comments are moderated, and will not appear on this site until the editor has approved them)
 
Rate me
supported os
stats
downloads 48
version
size in Kb 2
popularity   1296/7913374
user rating 2/10
ad


New Code
Popular Code