"Randell D." <re**********************@and.share.com> writes:
Do I need to use the 'type' in the javascrpit external load request below?
"need" is vague :) Will it work without it? Probably in some browsers,
maybe even all. But ...
Is it mandatory or optional? I've not found a clear reference on this...
It is required by the HTML 4 specification. Check
<URL:http://www.w3.org/TR/html4/interact/scripts.html#h-18.2.1>
---
type %ContentType; #REQUIRED -- content type of script language --
---
<script language='JavaScript' type='text/javascript' src=/myScrpit.js>
The "language" attribute is not needed, and it is deprecated in favor
of "type".
thanks... replies via ng only please
Ofcourse :)
/L
--
Lasse Reichstein Nielsen -
lr*@hotpop.com
DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleDOM.html>
'Faith without judgement merely degrades the spirit divine.'