Re: javascript variables undefined Firefox
- From: RobG <rgqld@xxxxxxxxxxxx>
- Date: Wed, 30 Nov 2005 00:27:55 GMT
RobG wrote:
jimmygoogle wrote:
I posted earlier with a scope problem. I think I resolved it in IE but in Firefox it still exists. Anyone have any ideas/experience with this? I attached my code sorry it is so long. You can cut/paste it into 2 files and run it to see what I mean.
It has nothing to do with scope, it's a surprise to me that it is 'fixed' in IE.
I guess IE is making a synchronous call.
[...]
if (document.implementation && document.implementation.createDocument){ alert ("MOZ"); xmlDoc = document.implementation.createDocument("", "", null);
To make Mozilla do a synchronous call, insert:
xmlDoc.async = false;
But you get an error later in your menu building script anyway. You can try to track it down if you like, good luck.
[...]
-- Rob .
- Follow-Ups:
- Re: javascript variables undefined Firefox
- From: jimmygoogle
- Re: javascript variables undefined Firefox
- References:
- javascript variables undefined Firefox
- From: jimmygoogle
- Re: javascript variables undefined Firefox
- From: RobG
- javascript variables undefined Firefox
- Prev by Date: Re: detecting whether frame is top one and in case it isn't redrawing it as top
- Next by Date: Suppress Browser Alert
- Previous by thread: Re: javascript variables undefined Firefox
- Next by thread: Re: javascript variables undefined Firefox
- Index(es):
Relevant Pages
|