[thelist] JavaScript Question

Sam-I-Am sam at sam-i-am.com
Mon Oct 29 16:39:57 CST 2001

> Although it works with "forms[0]",
> I would like to understand why it is not working with the form name
> like my other code.  Do you have some dynamic debugging
> tools that would allow me to view the DOM after I modify it dynamically?
> Or some suggestions for debugging?

i have a bookmarklet for IE5+ that does exactly this: 
(scroll down to View DOM / View DOM Fragment)

or just simply alert(document.documentElement.outerHTML);

to your question: is it possible you have another on the page which has
the same ID as the form? That might explain why no "name" property is


More information about the thelist mailing list