ここでフォーカス機能の使用を知る必要があります。誰でもこのコードを説明できますか?
function Allow Age(){
if(!form.age.value.match(/[0-9]+$/) && form.age.value !="")
{
form.age.value="";
form.age.focus();
alert("invalid format");
}
if(form.age.value.length > 1)
alert("invalid entry")
}