Skip to content
Related Articles

Related Articles

jQuery | Misc param() Method

Improve Article
Save Article
  • Last Updated : 27 Mar, 2019
Improve Article
Save Article

The param() method in jQuery is used to create a representation of an array or an object. This representation is created in a serialized way. This serialized values can be used in making an ajax request in URL.


$.param(object, trad)


  • object: Specifies an array or object to serialize.
  • trad: A Boolean value specifying whether or not to use the traditional style of param serialization.


<!DOCTYPE html>
    <script src=
        $(document).ready(function() {
            GFGlang = new Object();
            GFGlang.FirstLang = "C";
            GFGlang.SecondLang = "CPP";
            GFGlang.ThirdLang = "JAVA";
            GFGlang.FourthLang = "PYTHON";
            $("button").click(function() {
    <h1 style="color:green;"
      Serialize object

Before Click:

After Click:

My Personal Notes arrow_drop_up
Related Articles

Start Your Coding Journey Now!