Description
This example shows how to create a button or link for downloading a file. The example creates hidden helper iframe and hidden form. Iframe is the target of the form submit. Return the correct HTTP headers from the server is crucial.Result
Main Features
- very simple
- mix of Ext/Touch and HTML
- PHP server side code
Use Cases
Use whenever you need to trigger the browser download mechanism by clicking a button or link.Source Code
If you want to see the example code, login or sign-up. Free membership is available.Latest posts by saki (see all)
- Ext, Angular, React, and Vue - June 27, 2019
- The Site Resurgence - February 11, 2018
- Configuring ViewModel Hierarchy - June 19, 2015