Return to Snippet

Revision: 831
at August 12, 2006 08:22 by nicolaspar


Updated Code
function listarPropiedades( obj ){
	html =""
	for(var i in obj){
	    html +=('propiedad: '+i+' valor: '+obj[i])+"<br>";
	}  
	popup=window.open('');
	popup.document.open();
	popup.document.write(html);
	popup.document.focus();
	popup.document.close()
	
}

Revision: 830
at August 12, 2006 08:11 by nicolaspar


Initial Code
for(var i in Objeto){
    alert('propiedad: '+i+' valor: '+Objeto[i]);
}

Initial URL

                                

Initial Description

                                

Initial Title
Javascript - Listar propiedades de un objeto

Initial Tags

                                

Initial Language
JavaScript