Citation:
<html>
/*fonction top()*/
<script language="javascript">
function top(){
var nb=parseInt(minute.value);
nb=nb+1;
minute.value=nb;}
</script>
<td>
<input type='text' name='heure' id='heure' size='2' value='0' />
<input type='text' name='minute' id='minute' size='2' value='0' /
</td>
<td>
<input type='button' style="font-family:Century Gothic;color:#FFFFFF; background-color: #477CB1" onclick='heure.value=1+parseInt(heure.value);' value='top' />
<input type='button' style="font-family:Century Gothic;color:#FFFFFF; background-color: #477CB1" name='monte2' onclick='top();' value='top' />
</html>
Ce n'est pas un input au cas où tu le mettrais dedans!!!