Overview | IndexGodLikeMouse JavaScript Framework
FRAMES | NO FRAMES

GLM.String.replaceQueryString( parameterName, parameterValue )

GLM.String.replaceQueryString( parameterName, parameterValue )

Method for replacing a querystring parameter or appending it correctly if it does not exist.

Parameters:

parameterName - The parameter name to replace the value of.

parameterValue - The value used in the replacement.

Returns:

The querystring with the replaced values

Example:

var s = new GLM.String(document.location.search);
var sUrl = s.replaceQueryString("param1","value1");



Overview | IndexGodLikeMouse JavaScript Framework
FRAMES | NO FRAMES