SyntaxFix
Write A Post
Hire A Developer
Questions
For me .exists doesn't work, so I use the index :
.exists
if ($("#elem").index() ! = -1) {}