Subj : Re: How to turn on E4X
To : netscape.public.mozilla.jseng
From : Martin Honnen
Date : Sun May 08 2005 01:36 pm
Peter Wilson wrote:
> I have FF 1.8B2, but can't get E4X to run.
>
> I tried a simple assignment:
>
> var x = ;
>
> No luck, just a syntax error.
>
> Is there some preference I must turn on?
If you are using E4X inside script in HTML pages loaded via http: or
file: URLs then you need to add a parameter to the content type of the
script element: