Phil Shaw wrote:

> In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] 
> wrote:
>>For 
>>web content text/javascript is better because some browsers get confused 
>>and don't execute the script if they see application/x-javascript
> 
> Do you recall the problem browsers?


Internet Explorer 5.00.2614.3500 does not display the alert box with the 
following document, thus it does have problems with 
application/x-javascript (using text/javascript, it works):
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" 
"http://www.w3.org/TR/html4/strict.dtd";>
<html>
<head>
<script type="application/x-javascript">
<!--
alert("test");
-->
</script>
</head>
<body>
</body>
</html>


Reply via email to