See also: parseQueryString

Builds a query string from the object array created with JSV_parseQueryString.

Syntax

JSV_buildQueryString()

Prototype

n/a

Returns

Returns the built query string.

Parameters

n/a

Remarks

The JSV_buildQueryString takes the attribute/value pairs from the qsArray object array and builds a valid query string.

The JSV_buildQueryString is used in many of the other utility functions and can be used to create other functions.

Dependencies

n/a

Example

The following lines of code

var qs = "?ABC=123&L=Page1&Music=R%26B";
JSV_parseQueryString(qs);
var rebuilt = JSV_buildQueryString(qs);
document.write( "The rebuilt query string is " + rebuilt.bold() );

produce