Skip to content

Instantly share code, notes, and snippets.

@bluehazetech
Created April 6, 2014 15:53
Show Gist options
  • Save bluehazetech/10007911 to your computer and use it in GitHub Desktop.
Save bluehazetech/10007911 to your computer and use it in GitHub Desktop.
jQuery: Get Elements that Contain Numeric Values
$('div').filter(function() {
return this.innerHTML.match(/^\d+$/);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment