1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
<html>
<script language = "javascript">
function test()
{
alert('test');
document.getElementById('DivSpin1').innerHTML = 'test';
}
</script>
<div id='DivSpin1' >
<table cellpadding='0' cellspacing='0' border='0'><tr><td rowspan='2'>
<input style='float: left; width: 50px; height : 21px' type='text' name='Spin1' id='Spin1'>
</td><td>
<input type=image src='spinner_haut2.png' style='width: 11px; height:11px; display: block;' onclick='test();Spin1.value--; Spin1.onChange();' >
</td></tr><tr><td>
<input type=image src='spinner_bas2.png' style='width: 11px; height:11px; display: block;' onclick='Spin1.value--; Spin1.onChange()' >
</td></tr></table>
</div>
</html> |