SyntaxFix
Write A Post
Hire A Developer
Questions
And what about:
if ($('#dataTable[data-timer]').length > 0) { // logic here }