i need to validate textbox to accept only integer and not more than 100 i create this fuction but i dont how to resrict numbers to be lesss than 100 only
<script type="text/javascript">
<!--
function checkNum(number)
{
if (isNaN(number.value) )
{
alert(number.value + " is not a number. Please re-enter.");
number.focus();
number.select();
}
return;
}