Tuesday, 28 February 2012

if else command


<html>

<head>
<script type="text/vbscript">
Function person()
i=hour(time)
If i < 5 Then
 document.write("Good")
Else
 document.write("Bad")
End If
End Function
</script>
</head>

<body onload="person()">
</body>

</html>

No comments:

Post a Comment