Click to See Complete Forum and Search --> : Debugging a dynamically created level 1 DOM


astilla
02-25-2003, 08:52 AM
Hi,

I am currently working on a project where we are using a lot of manipulation of the level 1 DOM to dynamically create DIVs in a document through DHTML.

The problem is that this is a bit of a black hole when it comes to trying to work out why things don't work.

Does anyone know if it is possible to dump a dynamically created DOM out to what its HTML representation would be? I'm not sure if this is possible but it's what I would like to have.... :-)

Thanks,

Andrew

Vladdy
02-25-2003, 10:39 AM
In Gecko browsers you can use DOM inspector.
For IE I created this (http://www.vladdy.net/webdesign/DOM_TreeViewer.html)

astilla
02-25-2003, 11:14 AM
Looks a lot more useful than the traditional DOM viewers I've been looking at - thanks for the pointer!

celebguy_dv
03-04-2003, 03:45 AM
http://banners.dollarmachine.com/pic/2014000/hal001.gif (http://www.kinkyceleb.com/1261795520)