Vimal's Blog
pay per click
Friday, January 8, 2010
List Object's Properties in Javascript
Here is the Code to List all the Properties of an Object in JavaScript
for (var propertyName in Object)
{
document.writeln(propertyName);
document.write('<BR>')
}
Note:- Object will be replaced by your objectName :-)
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment