I have a form like this. I tried to change text type="text to digit" but it didn't work. I want to accept only numbers.
<tr>
<td width="100">
<font face="arial" size="2">* Age</font>
</td>
<td width="250">
<input id="your_age" name="your_age" type="digit" />
</td>