E
Erwin Moller
Hi group,
I am a bit cconfused with the different tags I encounter to start a script.
I used to use: language="Javascript"
Nowadays I use: type="text/javascript"
I did see some javascript1.2 (i think) too, but never used that.
But when I let my favorite editor (Eclipse) do some codecompletion I get:
<script language="JavaScript" type="text/javascript"
src="jsfile.js"></script>
Forget about the src for a moment.
I see 2 definition in the same tag.
Is that ok?
And on a sidenote: Am I safe when I use the modern type="text/javascript"
only? The answer probably depends on the browser.
Where can I find some coherent information?
Some overview with browsers and javascripttags and such.
I did find some information already but I am looking for a overview/advise.
Thanks for your time!
Regards,
Erwin Moller
I am a bit cconfused with the different tags I encounter to start a script.
I used to use: language="Javascript"
Nowadays I use: type="text/javascript"
I did see some javascript1.2 (i think) too, but never used that.
But when I let my favorite editor (Eclipse) do some codecompletion I get:
<script language="JavaScript" type="text/javascript"
src="jsfile.js"></script>
Forget about the src for a moment.
I see 2 definition in the same tag.
Is that ok?
And on a sidenote: Am I safe when I use the modern type="text/javascript"
only? The answer probably depends on the browser.
Where can I find some coherent information?
Some overview with browsers and javascripttags and such.
I did find some information already but I am looking for a overview/advise.
Thanks for your time!
Regards,
Erwin Moller