Severe issues with document.GetElementById
- by BadDayComing
I've been using document.GetElementById succesfully but from some time on I can't make it work again.
Old pages in which I used it still work but things as simple as this:
<html>
<head>
<title>no title</title>
<script type="text/javascript">
document.getElementById("ThisWillBeNull").innerHTML = "Why is this null?";
</script>
</head>
<body>
<div id="ThisWillBeNull"></div>
</body>
</html>
Are giving me "document.getElementById("parsedOutput") is null" all the time now.
It doesnt matter if I use Firefox or Chrome or which extensions i have enabled or what headers I use for the html, it's always null and I can't find what could be wrong.
Thanks for your input =)