I am trying to let the user Save a CSV file using the File Download dialog box. When the user clicks "Open", the file opens just fine. When the user clicks "Save" instead of "Open", it creates a javascript "Unspecified error". However, the file still downloads just fine. But then there is the error on the page that prevents anymore javascript from running. I have put a try{}..catch() around all of my code, but I still get the error. Does anyone know what is going on? Thanks.
You might try running with the Firefox browser with the JavaScript Console extension installed. After installing the console and restarting Firefox, open the console by selecting Tools from the menu bar and then clicking on JavaScript Console. This will open the console in another window and it will trap and log all errors. Then run your code and look for the error(s) in the console. The location of the error will be given and you can click it to go to the offending code.
<a href="http://labryssystems.net/pblog/index.php" target="_blank" rel="nofollow">Javaville Gazette</a><br />Non-cooperation with evil is a duty. -- Mahatma Gandhi
Jeff Byrd
Greenhorn
Joined: Feb 16, 2005
Posts: 3
posted
0
Thank you for your reply, but the problem is it works just fine in both Firefox and Netscape. So I am unable to trap the error in those browsers.