Skip to content

Instantly share code, notes, and snippets.

@tebriel
Created January 31, 2012 03:25
Show Gist options
  • Save tebriel/1708556 to your computer and use it in GitHub Desktop.
Save tebriel/1708556 to your computer and use it in GitHub Desktop.
function IsNumeric(e) {
var numericExpression = /^[0-9]+$/;
if(e.match(numericExpression))
{
return true;
} else {
return false;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment