SuccessCallback and failCallback functions allow for you to be explicit about what the user sees in either situation This feature is becoming crucial for modern web applications User never leaves the same page they initiated a file download from. Very easy to setup with nice visuals (jQuery UI Dialog, but not required), everything is tested too It works pretty similarly with an iframe but has some cool features that I have found quite handy: I have created the jQuery File Download plugin ( Demo) ( GitHub) which could also help with your situation. Const url = (blob) Īlert('your file has downloaded!') // or you know, something with better UX.Ģ012 original jQuery/iframe/cookie based approach
0 Comments
Leave a Reply. |