var value = document.getElementById('textboxID').value; if (isNaN(value)) alert('not an number') else alert('valid number');
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)