Javascript question

Miscellaneous Forums/General Discussion/Javascript question

still encouraged from your quick answers to my css problem, here's yet another problem:

Why doesn't this work in FireFox?

<script>
document.write("hello world");
</script>

I also tried the "full" syntax:

<script language="javascript">
<!--
document.write("hello world");
//-->
</script>

No success. It works in msie! Script is ON, btw. No error message, nothing.

EDIT uh sorry, had script console hidden in FireFox. Now that I read the error messages, I'll probably gonna fix this soonish.