JavaScript is disabled on your browser.

JavaScript

With JavaScript, the functionality of Intrexx applicationscan be expanded. The Script tab can be reached from the properties dialog of pages and edit elements.

The available events can be assigned user-defined script functions here. Events to which script has been assigned, such as those that originate from dependencies, will only be listed. This comes about because of system-internal entries, the code of which cannot be viewed in the script editor.

Click Script to open the Intrexx script editor. If you click on the arrow symbol next to the Script button, a menu will be opened in which you can choose whether to Edit JavaScript for desktop or Edit JavaScript for mobile devices in the editor. Save the script in the editor.

Clicking on Add script call will open a dialog, from which the user-defined functions can be selected and an event can be assigned.

If multiple function calls are assigned to a single event, the order of calls can be influenced with the help of the arrow buttons here.

Click OK and save the application when you are done. The JavaScript function will be executed in the browser as soon as the corresponding event occurs.

““ When opening an application, the corresponding JavaScript will be searched for comments that contain the character string //FIXME or //TODO. Hits will be listed in the lower area of the module applications on the tab problems. The internal JavaScript editor will be opened upon double-clicking on a hit. In this way, you have the ability to set markers for the further editing of scripts.