I have an example for the scenario I am using cometchat in my application. Its a third party script, that provides a chat interface to the website. It adds some containers to the body of the document. One such container is cometchatbase.
I want attach something to this container on document.ready. But by the time document.ready is fired, the container is not generated, so $j ("#cometchatbase") returns null. Does this mean, before the cometchat.js has finished executing document.ready has already fired? Thanks Vru