From 1665924f6543d226267faf19809b5adb43e5dadc Mon Sep 17 00:00:00 2001
From: Aurelio De Rosa This function is used internally to convert form element values into a serialized string representation (See .serialize() for more information). As of jQuery 1.3, the return value of a function is used instead of the function as a String. As of jQuery 1.4, the As of jQuery 1.8, the If the object passed is in an Array, it must be an array of objects in the format returned by .serializeArray()$.param()
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 jQuery.ajaxSettings.traditional = true;
.$.param()
method no longer uses jQuery.ajaxSettings.traditional
as its default setting and will default to false
. For best compatibility across versions, call $.param()
with an explicit value for the second argument and do not use defaults.
[