Hi,
I have a problem with the latest version of the jQuery Form Plugin (2.80). To be more precise, I guess I am doing something wrong, and with an older version (2.67) somehow it didn't matter.
The HTML of the form is:
- <form enctype='multipart/form-data' method='POST' action='web_controller.fcgi?ul_cfg' name='cfg_import' id='cfg_import'> <fieldset><legend>Import Configuration</legend> File: <input type='file' name='file' id='ul_update' /> <input type='submit' value='Update' disabled='disabled' /> </fieldset></form>
And the js is:
- $('#cfg_import').submit(function() {
- $(this).ajaxSubmit();
- return false;
- });
With the old version, the file was uploaded without problems. Now Firefox opens a new Tab on clicking the submit button and nothing is done. Chrome doesn't open a new tab, but also nothing happens. In Wireshark I can see that there is no file attached in the POST message - with the older version, the file was sent. I am a little clueless what to do here. My first guess was that my file handling on the server side is erroneous - but on the other hand, when there is no file attached, what should I handle there?
Any help or hints would be much appreciated.
Best regards
Mike