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
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.