0 votes
in JQuery by
Describe the use of the param() method in jQuery?

1 Answer

0 votes
by

The param() method outputs a serialized representation of an object or array.

For example:

student = new Object();

student.name = “Mary”;

student.marks = 67;

$("div").text($.param(student);

When an event occurs that calls this code, the method will give the following output:

name=Mary&marks=67

Related questions

0 votes
asked Nov 20, 2020 in JQuery by sharadyadav1986
0 votes
asked Jan 9, 2021 in JQuery by SakshiSharma
...