Skip to content

Instantly share code, notes, and snippets.

@ABooooo
Created June 30, 2016 09:40
Show Gist options
  • Save ABooooo/99012c96c0309a6f5268769699395dd8 to your computer and use it in GitHub Desktop.
Save ABooooo/99012c96c0309a6f5268769699395dd8 to your computer and use it in GitHub Desktop.
check if contain text
if($.trim($(".secMenu").text()) == "") {
$(".secMenu").remove();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment