query div populated by plugin

query div populated by plugin

Hi, 

I'm trying to replace text in a div populated by a plugin and put the new text in another div. I have been using something like:

var twatter = $("#myTwitterDiv").text().replace(/SomeWord/g, "NewWord");

            $("#NewTwitterDiv").text(twatter);

but with no joy, this works for static text but not for text generated from my twitter feed. Any advice on why or where to start would  be appreciated.

Thanks

JK