JQuery selector all identifiers that are integers
4 answers
$('[id]').filter(function () {
return !isNaN((this.id)[0]) && this.id.indexOf('.') === -1;
}).css('color', 'red');
+4
$('[id]').filter(function () {
return !isNaN((this.id)[0]) && this.id.indexOf('.') === -1;
}).css('color', 'red');