posted 5 years ago
I have a simple jsp page with input text fields and select drop downs.
I have 3 buttons. one for submit, download and cancel.
Whenever I click the download button, it will download the csv files (will ask for default popup to open/save/cancel).
Now, when I am clicking the submit/cancel after the download button, I am enountering an issue and the problem is again the default popup is opening and askinfg for download.
Any inputs will be helpful?
var doc = document;
doc.form.cycle.value = "4";
doc.form.cycle.value = "1";