Get Partial Content Async

Syntax

$.getPartialAsync = function (url, id)

Arguments

url

String

URI of the action that should be loaded.

id

String

Identifier of the Page Section that the content should be loaded into.

Description

Loads data from the Server into the Page Section specified in the parameter “id” by sending an HTTPGET request to the action of the URI specified in “url” asynchronously, i.e. the screen will not be blocked, so the user can simultaneously execute other actions while loading occurs.

Examples

The following program illustrates the function call:

$.getPartialAsync("main/partialloadasync", "div-container-example");

It will send a request to “main/partialloadasync” and load the response into the Page Section by the id of “div-container-example” replacing the content that is currently displayed in that Page Section. During this process, the screen will not be blocked, so the user can simultaneously execute other actions while loading occurs.

Last updated