Documentation Index

Fetch the complete documentation index at: https://docs.lobster-world.com/llms.txt

Use this file to discover all available pages before exploring further.

getUrlParam

Prev Next

Returns the value of a parameter of the current browser URL.

Tooltip

Syntax: $getUrlParam(name[,default=''})

Parameter

Description

name

The parameter name

default

Default = "" (Empty) – the value if the parameter is not present.

Example:$getUrlParam(myUrlParam) for browser URL http://pro.lobster.de/?myUrlparam=Yes delivers "Yes".

Syntax

$getUrlParam(name[,default=''})

Parameter

Parameter

Description

name

The parameter name

default

Default = "" (Empty) – the value if the parameter is not present.

Return value

The URL parameter or default if it is not present.

Example

Syntax

Browser URL

Result

$getUrlParam(myUrlParam)

http://pro.lobster.de/?myUrlParam=Yes

Yes

$getUrlParam(notMyUrlParam)

http://pro.lobster.de/?myUrlParam=Yes

$getUrlParam(notMyUrlParam,Not there)

http://pro.lobster.de/?myUrlParam=Yes

Not there