I am trying to make time input validation.
time input format is HH:MM
when the user types time, i want to check it while typing.
How can I start??
-----code----
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
</head>
<body>
<input type="text" name="t2" value ="time">
</body>
</html>
<script type="text/javascript">
function timevalid() {
}
</script>
time input format is HH:MM
when the user types time, i want to check it while typing.
How can I start??
-----code----
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
</head>
<body>
<input type="text" name="t2" value ="time">
</body>
</html>
<script type="text/javascript">
function timevalid() {
}
</script>