This example demonstrates use of sridurgamataastrologer.com, a file upload field with custom rendering. The js is not minified so it is readable. See sridurgamataastrologer.com Using the browse button, I select a file from my file system. Now, I want to attach this form in a POST request and send to an API that processes. You will need to use a form if you want to submit the file. Even if you want the button to be in a toolbar, you can enclose it in a form and it will still.
This tutorial is also an update for the tutorial Ajax File Upload with ExtJS and Spring Framework, implemented with Ext JS 3 and Spring MVC. Sencha Touch Upload & Download - Learn Sencha Touch in simple and easy to send simple ajax request with and without parameter and uploading files. Sencha Touch XHR2 AJAX Demos. Contribute to senchalabs/ajax_demos development by creating an account on GitHub.