We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aff16f4 commit 588306aCopy full SHA for 588306a
jquery.form.js
@@ -172,7 +172,7 @@ $.fn.ajaxSubmit = function(options) {
172
};
173
174
// are there files to upload?
175
- var fileInputs = $('input:file:enabled[value]', this); // [value] (issue #113)
+ var fileInputs = $('input[type=file]:enabled[value]', this); // [value] (issue #113)
176
var hasFileInputs = fileInputs.length > 0;
177
var mp = 'multipart/form-data';
178
var multipart = ($form.attr('enctype') == mp || $form.attr('encoding') == mp);
0 commit comments