Validation over TextBox For Number Delete duplicate records from Table in SQL between (0 to 100)
function CheckNo1(sender)
{
var input = parseInt(sender.value);
if (input < 0 || input > 100)
alert("No. should be 100 OR less than 100");
return;
}
function CheckNo(sender)
{
if (!isNaN(sender.value))
{
if (sender.value > 100)
{
sender.value = '';
alert("No.should be 100 OR less than 100");
}
else
{
}
}
else
{
sender.value = 0;
}
}
No comments:
Post a Comment