Return to Snippet

Revision: 719
at August 2, 2006 08:00 by cochambre


Updated Code
function inspect(obj) {
	var str = '';
	for (var k in obj)
		str += 'obj.' + k + ' = ' + obj[k] + '<br>';
	(window.open('about:blank')).document.write(str);
}

Revision: 718
at August 2, 2006 07:59 by cochambre


Updated Code
function inspect(obj) {
	var str = '';
	for (var k in obj)
		str += 'obj.' + k + ' = ' + obj[k] + '<br>';
	(window.open('about:blank')).document.write(str);
}

Revision: 717
at August 2, 2006 07:58 by cochambre


Updated Code
function inspect(obj) {
	var str = '';
	for (var k in obj) str += 'obj.' + k + ' = ' + obj[k] + '<br>';
	(window.open('about:blank')).document.write(str);
}

Revision: 716
at August 2, 2006 07:57 by cochambre


Initial Code
function inspect(obj) {
	var str = '';
	for (var k in obj)
		str += 'obj.' + k + ' = ' + obj[k] + '<br>';
	(window.open('about:blank')).document.write(str);
}

Initial URL

                                

Initial Description

                                

Initial Title
Inspect and object and show properies and methods in a new window

Initial Tags
object

Initial Language
JavaScript