Show Output
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>jQuery Find Entered Value is Numeric or Not</title> <script src="https://code.jquery.com/jquery-3.5.1.min.js"></script> <script> $(document).ready(function(){ $("button").click(function(){ var inputVal = $("input").val(); alert($.isNumeric(inputVal)); }); }); </script> </head> <body> <form> <p>Enter any value and click check button. If it is numeric alert true otherwise false:</p> <input type="text"> <button type="button">Check</button> </form> </body> </html>