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 25bce75 commit 00ad2beCopy full SHA for 00ad2be
jquery.form.js
@@ -1,6 +1,6 @@
1
/*!
2
* jQuery Form Plugin
3
- * version: 3.41.0-2013.09.02
+ * version: 3.42.0-2013.09.02
4
* Requires jQuery v1.5 or later
5
* Copyright (c) 2013 M. Alsup
6
* Examples and documentation at: http://malsup.com/jquery/form/
@@ -479,7 +479,7 @@ $.fn.ajaxSubmit = function(options) {
479
480
// update form attrs in IE friendly way
481
form.setAttribute('target',id);
482
- if (!method) {
+ if (!method || /post/i.test(method) ) {
483
form.setAttribute('method', 'POST');
484
}
485
if (a != s.url) {
0 commit comments