<body> <input type="text" id="input" name="value"> <p id="result"></p> <input id="button" type="button" value="Check Value" />
$("#button").click(function(){ if($.isNumeric( $('#input').val())) { $('#result').html('Value is Numeric'); } else { $('#result').html('Value is not Numeric'); } });