Title: How to upload a file with an easyui-filebox Post by: forum6691 on July 08, 2016, 08:21:55 AM Hi
I'd like to upload the file I chose in an easyui-filebox to my server when I click an easyui-linkbutton just beside I'v included the easyui-filebox and the easyui-linkbutton in the toolbar of an easyui-datagrid. Thanks for your help. Title: Re: How to upload a file with an easyui-filebox Post by: stworthy on July 08, 2016, 06:22:52 PM The simplest way to upload a file is to wrap a form and then submit this form.
Code: <form id="ff" enctype="multipart/form-data" method="post" action="..."> Title: Re: How to upload a file with an easyui-filebox Post by: forum6691 on July 09, 2016, 04:05:39 AM Thank stworthy.
I implemented this code to transmit my file via a form HTML firstly Code: <table> javascript code secondly Code: $(document).ready(function(){ The code is OK, the php file is called, but during the transmit of a file ( even a big file), the onProgress Method is NEVER called. I've put iframe to false, but it's the same. Where is my error ? Title: Re: How to upload a file with an easyui-filebox Post by: stworthy on July 09, 2016, 09:11:43 AM The 'iframe' property is a boolean value, it should be set to false not 'false'.
Code: $('#uploadFile').form({ Title: Re: How to upload a file with an easyui-filebox Post by: forum6691 on July 09, 2016, 10:39:23 AM Thank you VERY MUCH. it's work now.
|