<!DOCTYPE HTML>
<html>
<head>
<title>TEST</title>
</head>
<body>
<p id="qaz">ABC</p>
<script type="text/javascript">
document.getElementById("qaz").innerText = "XYZ";
</script>
</body>
</html>
Chrom wyświetla - zgodnie z oczekiwaniami - napis "XYZ", ale Firefox już "ABC". Dlaczego?
dodanie znacznika <code class="html"> - furious programming