[<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
<head>
<title></title>
<style type="text/css">
.nodisplay{
display: none;
}
</style>
<script type="text/javascript">
<!--
var theElement;
theElement = document.getElementById("test");
theElement.className="nodisplay";
-->
</script>
</head>
<body>
<div id="test"> CSS Rules in Action </div>
</body>
</html>]
I want this text to disappear, but I get object theElement is undefined or null. Help I think it is simple