jQuery group,

I've been using jQuery for my website, and have come up against an
obstacle.  My page dynamically loads comments from DISQUS, and as a
result the comments take a few seconds to load.  I need to make some
jQuery code that runs a function once the comments (which are of class
dsq.comment.message) are created.  I've tried using the load(fn)
event, but it doesn't seem to work for objects that have not yet been
created.  In essence, I need jquery to watch for new elements of a
certain class to be created, then my code will make some mods.  Any
idea how to do this or what event to watch for?

Currently, I am running this code:

$(".dsq-comment-message").load(function () { alert('A comment was just
created'); } );

~ nybblesandbytes

Reply via email to