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.txt
1Kb
example.htm
1Kb
props.htm
0b
props.js
1Kb
Similar code
FlyFormX
(Popularity: ) : Generates html forms dynamically from xml description files
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 ... 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. ... Simple Compiler
(Popularity: ) : This is just Simple Compiler demo program which i h required to build for my Programming Language subject. Its use ...