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

.txt download from different browers on phone that filename is not correct name.but PC browers is correct. #788

Open
wobushidaxingxing opened this issue Mar 4, 2023 · 1 comment

Comments

@wobushidaxingxing
Copy link

wobushidaxingxing commented Mar 4, 2023

var fileName = $('.selectpicker select option:checked').text() + ".txt"
var blob = new Blob([tempAreaDef], { type: "text/plain;charset=utf-8" });
saveAs(blob, fileName);
@mk-fault
Copy link

i got the same question,and on some mobile browers,the blob even cant be download successfully

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

2 participants