I am trying to let the user Save a XML 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.
I found a similar post
https://coderanch.com/t/117761/HTML-JavaScript/Unspecified-error-when-trying-save They mentioned its resolved
. But they didn't mentioned how
. Can anyone help me to resolve this problem?
Suresh