Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Internet Explorer not sending request #172

Open
Fabricio872 opened this issue Nov 23, 2020 · 0 comments
Open

Internet Explorer not sending request #172

Fabricio872 opened this issue Nov 23, 2020 · 0 comments

Comments

@Fabricio872
Copy link

Hello

I have Datatable button which calls this function:

    function download(url, data, method, mime, type) {
        $.fileDownload(url, {
            httpMethod: method,
            dataType:type,
            contentType:mime,
            data: data,
            preparingMessageHtml: "We are preparing your report, please wait...",
            failMessageHtml: "There was a problem generating your report, please try again."
        });
        return false; //this is critical to stop the click event which will trigger a normal file download!
    }

The method must be GET but i need to use ajax for request because IE has limit how much data can be sent in url bar and with datatables filters i exceed this limit. The datatype that i am using this to is csv and excel sheets generated on server. The function works fine on firefox but i need to make it work on IE 11 on windows 8. There it does not make any call to file generating endpoint as it suppose to. Am i doing something wrong?

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant