I am creating a pop-up window to display information specifically for printing. The page the pop-up is launched from calls an external javascript function which takes the information to display as text and scripts out all the HTML when it creates the page. The function scripts out HTML and javascript for two buttons: Close and Print. My close button works fine. When I try to use my print button, however, nothing happens. Strangely enough, if I refresh the pop-up after pressing the print button, then my print dialog will open, almost as if the page is playing catch-up. Does anyone know that I'm doing wrong.