I need help on javascript....
ok this is what I got from w3 school...
<html>
<body>
<script type="text/javascript">
var d = new Date();
var time = d.getHours();
if (time < )
{
document.write("<b>Good morning</b>");
}
</script>
<p>This example demonstrates the If statement.</p>
<p>If the time on your browser is less than 10, you will get a "Good morning" greeting.</p>
</body>
</html>
Ok Instead of saying good morning on this page.. I would love to see if the time is more than 10.. the page will be directed to a another specific page .... anyone can help on this ?
Thanks