Created
June 28, 2017 07:34
-
-
Save SilencerWeb/415455ddb676e482423197a42c738bc3 to your computer and use it in GitHub Desktop.
function for check does element exist or not
This file contains hidden or 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
function doesElemExist(elemName) { | |
return $(elemName).length > 0 ? true : false; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment