matty said the following on 11/20/2005 12:33 AM:
> Thomas 'PointedEars' Lahn wrote:
<snip>
>
>>They already are (implicitly) telling you _not_ to use it.
>
>
> I must be a complete moron but when I read:
You are not the moron.
> <quote>
> Some behavior in the JavaScript engine is dependent on the language
> version. In browser embeddings, this language version is selected using
> the LANGUAGE attribute of the SCRIPT tag with values such as
> "JavaScript1.2".
> </quote>
>
> Then I understand "to use this particular engine you must specify
> "Javascript1.2" in the script tag"
And whether you use that language attribute or not will be dependent on
what behavior you are looking for. But to understand that behavior, and
whether you want it or not, you have to understand the behaviors
themselves. And once you understand them, the question becomes moot.
The W3C tells you to use the type attribute (but I have never cared what
W3C or ECMA say), but use the type attribute because it removes the
language attribute differences/behaviors from certain browsers.
> It's okay to tell me that i'm a complete moron.
If it comes from Thomas, don't believe anything he says until you see it
and understand it for yourself. He seems to think he is some kind of
Einstein/NetCop but he's a complete idiot in that regards.
--
Randy
comp.lang.javascript FAQ -
http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices -
http://www.JavascriptToolbox.com/bestpractices/