Is “text/javascript” a legitimate value for the language attribute? I always use <script language=“JavaScript”> on the few occasions when I do any web page hacking. It will usually work with just <script> though, because most (all?) browsers treat Javascript as the default. By misspelling language, you force the browser to ignore that attribute.
Is “text/javascript” a legitimate value for the language attribute? I always use <script language=“JavaScript”> on the few occasions when I do any web page hacking. It will usually work with just <script> though, because most (all?) browsers treat Javascript as the default. By misspelling language, you force the browser to ignore that attribute.