I have seen lot of questions like this but none of them helped me I want to see when my span tag get available in DOM, my code looks like this
<span id="inviteUpdate">0</span>
if(jQuery("#inviteUpdate").html()>0){
alert("Element exists");
}
Am I missing something here?
jQuery("#inviteUpdate").html().length