본문 바로가기

프로그램&DB/AJAX

jQuery AJAX $.param() Method

jQuery AJAX param() Method

jQuery AJAX Methods jQuery AJAX Methods

Example

Output the result of a serialized object:

$("button").click(function(){
  $("div").text($.param(personObj));
});

Try it yourself »

Definition and Usage

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

The serialized values can be used in the URL query string when making an AJAX request.

Syntax

$.param(object,trad)

Parameter Description
object Required. Specifies an array or object to serialize
trad Optional. A Boolean value specifying whether or not to use the traditional style of param serialization



[출처] http://www.w3schools.com

'프로그램&DB > AJAX' 카테고리의 다른 글

jQuery AJAX serialize() Method  (0) 2011.08.23
jQuery AJAX $.post() Method  (0) 2011.08.23
jQuery AJAX load() Method  (0) 2011.08.23
jQuery AJAX $.getScript() Method  (0) 2011.08.23
jQuery AJAX $.getJSON() Method  (0) 2011.08.23