I have create a CSV file in my php code,
after create CSV, I try to open the CSV using window.open(),
this will work fine all browser except IE 7 and IE 8,
in IE a new window open then it close automatically
how to solve this problem,
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If I recall, Internet Explorer has a peculiar quirk when trying to open files, even if the proper MIME type is set in the header.
You may need to do the following to get the CSV to download:
Tools>Internet OptionsSecuritytab, then press theCustom Level...buttonDownloadssection, and underAutomatic prompting for file downloadsselectEnableHopefully, that should resolve the issue.