I\'m looking for a way to find if element referenced in javascript has been inserted in the document.
Lets illustrate a case with following code:
v
You can also use jQuery.contains:
jQuery.contains( document, YOUR_ELEMENT)