i have a DOM element with class=\'tag\'.
i want to check if the class value is tag and alert a message if it\'s true.
i wrote:
$(\"#thread\")
Just use inside the condition:
!domEle.hasClass("tag")