InnerHTML not working in IE 8?

I can’t imagine that IE 8 wouldn’t support innerHTML but for the following code:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Test innerHTML</title>
</head>

<body>
<p id="backfill">bad</p>
<script type="application/javascript">
<!--
document.getElementById("backfill").innerHTML='test';
// -->
</script>
</body>
</html>

IE 8 displays “bad” while Firefox, Safari, Opera and Chrome display “test”.

What did I do that IE 8 doesn’t like?

IE doesn’t recognise the correct MIME type of application/javascript

You need to use the obsolete MIME type text/javascript if you want IE to run the script.

That was it, thanks.