Buenas tardes,
Intentando cargar un string xml del tipo:
sxml = "<div><div id="id1" /><div
id="id2">contenido></div></div>";
con innerHTML:
document.getElementById("algunaID").innerHTML = sxml;
si luego hago un
alert(document.getElementById("algunaID").innerHTML);
en mozilla firefox me aparece así: <div><div
id="id1"><div id="id2">contenido</div></div> lo cual
esta mal porque me ha cambiado la anidación. en el
explorer aparece lo correcto.
Gracias y hasta pronto.

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
_______________________________________________
javaEScript mailing list
javaEScript@scriptia.net
http://lists.scriptia.net/listinfo.cgi/javaescript-scriptia.net

Responder a