Plugin JavaScript Function AJAXLink()

function module_class_name.AJAXLink(
requests
)

Description

This generates a link to your handleAJAX() method.

Where You Can Use It

Anywhere in your JavaScript code in the front-end. From Zenario 7.0.6 onwards.

Parameters

requests

Either a request string, or an object with the requests as keys/values.

Return Value

A URL to call your handleAJAX() method with the provided requests.

Example

plugin_class_name.AJAXLink({page: 2});