Created
October 4, 2018 08:13
-
-
Save ShuvoHabib/324fb200bf40c28f57f1ca84308da538 to your computer and use it in GitHub Desktop.
Check Element
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
var elementCheck = setInterval(function () { | |
if(jQuery('#selector').length > 0) { | |
// Your Code | |
clearInterval(elementCheck); | |
} | |
},1000); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment