onBeforeRequest

fires before any request is sent to the server side

boolean onBeforeRequest(string url,object folder){ ... };

Parameters

urlstringthe path to the server-side script
folderobjectthe object of the folder to load data into (see details)

Returns

booleanreturning false will prevent the operation

Example

$$("fmanager").attachEvent("onBeforeRequest",function(url, folder){
    // your code
    return true;
});

Details

The folder object includes several properties, depending on the type of operation. Detailed description of possible operations and related request and response parameters is given here

See also
Back to top