check if there is callback for cometchat and attach your events there


On Jul 13, 10:12 am, Veeru <swamyve...@gmail.com> wrote:
> 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

Reply via email to