Skip to content

Commit a062f9f

Browse files
AurelioDeRosatimmywil
authored andcommitted
jQuery.param: Updated version for traditional flag
Ref jquerygh-924 Closes jquerygh-932
1 parent 0d09c6a commit a062f9f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

entries/jQuery.param.xml

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
<p>This function is used internally to convert form element values into a serialized string representation (See <a href="/serialize/">.serialize()</a> for more information).</p>
2828
<p>As of jQuery 1.3, the return value of a function is used instead of the function as a String.</p>
2929
<p>As of jQuery 1.4, the <code>$.param()</code> method serializes deep objects recursively to accommodate modern scripting languages and frameworks such as PHP and Ruby on Rails. You can disable this functionality globally by setting <code>jQuery.ajaxSettings.traditional = true;</code>.</p>
30+
<p>As of jQuery 3.0, the <code>$.param()</code> method no longer uses <code>jQuery.ajaxSettings.traditional</code> as its default setting and will default to <code>false</code>. For best compatibility across versions, call <code>$.param()</code> with an explicit value for the second argument and do not use defaults.</p>
3031
<p>If the object passed is in an Array, it must be an array of objects in the format returned by <a href="/serializeArray/">.serializeArray()</a></p>
3132
<pre><code>
3233
[

0 commit comments

Comments
 (0)