SyntaxFix
Write A Post
Hire A Developer
Questions
You can do this:
if ($(".parent a[Id]").length > 0) { /* then do something here */ }