<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title> New Document </title>
<meta name="Generator" content="EditPlus">
<meta name="Author" content="">
<meta name="Keywords" content="">
<meta name="Description" content="">
<script language="JavaScript">
<!--
function check(val) {
return (/^[1234567890.]{1,10}$/.test(val));
}
//-->
</script>
</head><body>
<input type="text" name="" onblur="alert(check(this.value))">
</body>
</html>