pm_go_to

Opens a certain URL in the specified window frame in the browser, plus allows to specify some actions to perform before URL is opened.

Syntax

pm_go_to ($url, $target, $onLoad)

Parameters

url

      A string value with the URL to load.

target

      A string value that specifies the target window frame. By default, the value is 'self', which means that URL will be loaded to the currently active window frame.

onLoad

      A string value with the code in Javascript that will be executed before the URL is loaded. By default, this value is set to false.

Returns

Nothing.

Remarks

A well-formed Javascript text passed in via the onLoad parameter should not contain double quotes.

Include: pm.php.