I\'m trying to check in jQuery if a div contains some text, and then add a class if it does.
So I wrote something like this:
if( $(\"#field >
Yes, I now made think for me. And it works fine!!!
if($("div:contains('CONGRATULATIONS')").length) { $('#SignupForm').hide(500); }