<input id=a value=0>
<input type=button value="+" onmousedown="tid=setInterval('add()',10)" onmouseup="clearInterval(tid)">
<input type=button value="-" onmousedown="tid=setInterval('de()',10)" onmouseup="clearInterval(tid)"><script>
var tid=null
function add()
{
var m = parseInt(document.all.a.value)
if(m<100)
{
m++
document.all.a.value = m
}
}function de()
{
var m = parseInt(document.all.a.value)
if(m>0)
{
m--
document.all.a.value = m
}
}
</script>