Hi Friends,
I need to take time input from user so for that I can use spinner control. We do not have spinner control in html.
How can I implement it so that I do not have to use seperate textboxes for hour,min,sec.
I can use seperate like
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
<title>Spiner control</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script type="text/javascript">
<!--
function Spiner(num) {
var obj=document.getElementById('spin');
obj.value=parseInt(obj.value)+num;
}
//-->
</script>
<style type="text/css">
<!--
input {
width:3em;
}
button {
font-weight:bold;
}
-->
</style>
</head>
<body>
<input type="text" id="spin" value="0" />
<button type="button" onclick="Spiner(1);">↑</button>
<button type="button" onclick="Spiner(-1);">↓</button>
</body>
</html>
but it would not look good.
what I ant is
Input like 11:34:23 in a single text box with a spinner control working on each of 11,34,23 seperately on selection.
Waiting for your response.
Thanks in advance.


