SyntaxFix
Write A Post
Hire A Developer
Questions
I think that perfect solution will be this
if ($(this).hasClass("your_Class")) alert("positive"); else alert("Negative");