I can not put a condition. I need to determine if the HTML code contains an element with the class ".someclass". How to do it?
Something like this:
if(!$(".someclass"))alert("Is Not DOM element");
Source: https://ru.stackoverflow.com/questions/104461/
All Articles