Last active
April 4, 2024 22:04
-
-
Save lambdamusic/4734425 to your computer and use it in GitHub Desktop.
JavaScript: Verify if an html element is empty #js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ($('#keks').html()) { | |
// Do something to remedy the situation | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment