.navigateTo()

Previous Next

Navigates to a different page.

Returns the 'this' object.

Syntax

.navigateTo( page, options ) 

 

options  :=  {

    targetFrame:  target-frame

,   applyChanges:  apply-changes

,   quiet:  quiet

,   success:  success-function

,   error:  error-function

}

 

apply-changes  :=  { true | false }

quiet          :=  { true | false }

The required page is a string that identifies the page being navigated to.

Options is a struct that can have the following items, all of which are optional.

Target-frame is a string identifying the target frame in which page is to be opened. If not specified, the page is opened in the current context.

Apply-changes is a boolean that defines whether changes must be applied. The default is true.

Quiet is a boolean that determines whether or not a message is displayed if an error occurs. Default is false, meaning that a message is displayed by default.

Success-function is a function called after the operation has successfully completed.

Error-function is a function called if an error occurs.

 

Example

$.udb.navigateTo('MyNextPage',{quiet:true});