I'm not quite familiar with the YUI library.
A quick look at the code I see that you have an alert that displays o.responseText, isn't that the "popup with lots of text" that you're seeing?
Beyond that, you will need to post a link to your page as this small snippet does't give the full story of what is actually happening.


