By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,952 Members | 1,722 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,952 IT Pros & Developers. It's quick & easy.

Strange download javascript problem

P: n/a
I'm using javascript throughout my siute for basic client validation and a
menu structure.

In a couple of areas I've also code to download to a csv file. As soon as
this code is run anywhere in my site the javascript simply stops working.
Even references to the document object return an "undefined value". Any help
would be greatly appreciated.

Download code as follows:

Response.AppendHeader("content-disposition", "attachment; filename=" +
fileName);
Response.ContentType = "text/csv";
Response.Flush();
Response.Write(fileText);
Response.End();
Nov 19 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.