onBeforeSearchRequest

fires before a search request is sent to the server-side (see details here)

boolean onBeforeSearchRequest(string id,string params){ ... };

Parameters

idstringthe id of the folder to search in
paramsstringthe request parameters

Returns

booleanreturning false will prevent the operation

Example

$$("fmanager").attachEvent("onBeforeSearchRequest",function(id, params){
    // your code
    return true;
});

See also
Back to top