javascript button click casuing Internet Explorer secuirty exception...

Posted by hp on Stack Overflow See other posts from Stack Overflow or by hp
Published on 2010-05-11T22:10:06Z Indexed on 2010/05/11 22:14 UTC
Read the original article Hit count: 219

Filed under:

Hello,

I have a application that allows a user to choose some parameters for a powerpoint report, run the report, then allow the user to "save" or "open" the powerpoint file. I got all of that working OK. When you click on "run" report, it pops open a window which generates the report, stores it in session, then closes the window. I have a button on the main page that will export the report.

So, now, when the pop up window that generates the report is finished, i use "window.opener" to call a javascript method on the main page, that will do a javascript click of the button. when this button is pressed, Internet Explorer gives me the following message : "To help protect your security, Internet Explorer blocked this site from downloading files to your computer.."

Do you guys know of any tricks around this?

© Stack Overflow or respective owner

Related posts about JavaScript