|
Re: is there something special about newDoc ?: msg#00027mozilla.devel.dom
Sorry it was my mistake I had forgotten that it was necessary to attach my onload event to the document variable in the document in frame[0] xuldoc.frames[0].newDoc.addEventListener("load",function (){x(y)}, true); "Martin Honnen" <mahotrash@xxxxxxxx> wrote in message news:ck8qak$4i11@xxxxxxxxxxxxxxxxxxxxxx > > > 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> |
|---|---|---|
| Previous by Date: | Re: is there something special about newDoc ?: 00027, Martin Honnen |
|---|---|
| Next by Date: | Re: DOM : removeall nodes with xpath: 00027, rvj |
| Previous by Thread: | Re: is there something special about newDoc ?i: 00027, Martin Honnen |
| Next by Thread: | Re: DOM : removeall nodes with xpath: 00027, rvj |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |