
Şifre1 ve tekrar şifrenizi yazın alanlarına rakamları javascript keypad kullanarak girdirmek istiyorum.
Lakin jquery kullanmak istemiyorum.
<form action="" method="post" class="" name="numPad">
<table cellpadding="2" cellspacing="2" border="0" width="44">
<tr>
<td colspan="3" align="center">
<p align="right">Şifreniz<input type="text" name="quantity" size="10"></td>
</tr>
<tr>
<td colspan="3" align="center">
<p align="right">Şifre2<input type="text" name="quantity1" size="10"></td>
</tr>
<tr>
<td><input type="button" value=" 1 " onclick = "document.numPad.quantity.value =document.numPad.quantity.value+ this.value"></td>
<td><input type="Button" value=" 2 " onclick = "document.numPad.quantity.value =document.numPad.quantity.value+ this.value"></td>
<td><input type="Button" value=" 3 " onclick = "document.numPad.quantity.value =document.numPad.quantity.value+ this.value"></td>
</tr>
<tr>
<td><input type="Button" value=" 4 " onclick = "document.numPad.quantity.value =document.numPad.quantity.value+ this.value"></td>
<td><input type="Button" value=" 5 " onclick = "document.numPad.quantity.value =document.numPad.quantity.value+ this.value"></td>
<td><input type="Button" value=" 6 " onclick = "document.numPad.quantity.value =document.numPad.quantity.value+ this.value"></td>
</tr>
<tr>
<td><input type="Button" value=" 7 " onclick = "document.numPad.quantity.value =document.numPad.quantity.value+ this.value"></td>
<td><input type="Button" value=" 8 " onclick = "document.numPad.quantity.value =document.numPad.quantity.value+ this.value"></td>
<td><input type="Button" value=" 9 " onclick = "document.numPad.quantity.value =document.numPad.quantity.value+ this.value"></td>
</tr>
<tr>
<td colspan="3">
<p align="center">
<input type="button" value=" 0 " onclick = "document.numPad.quantity.value =document.numPad.quantity.value+ this.value"></td>
</tr>
</table>
</form>
