logo       

Re: is there something special about newDoc ?: msg#00026

mozilla.devel.dom

Subject: Re: is there something special about newDoc ?



rvj wrote:

Am I correct in thinking that newDoc is the ONLY acceptable variable name
within an HTML docs?

var newDoc = document.implementation.createDocument("", "", null);

I don't think there is anything special about the variable name newDoc.

If I attempt to use any other variable name some kind of error is generated
???

What error do you get exactly?



--

Martin Honnen
http://JavaScript.FAQTs.com/


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise