September 2017
Intermediate to advanced
408 pages
9h 25m
English
The GlideAjax class exposes methods that can be used to implement AJAX features without having to understand the low-level intricacies. We need to create a GlideAjax object in order to invoke server-side scripts.
Any working AJAX call requires both a client-side and server-side component. In this section, we will go through the overview of the client-side code and will be implementing and covering this in detail in the upcoming chapters.
In order to invoke AJAX calls within ServiceNow, we must first create an object of the GlideAjax class in the client-side script and initialize it with the name of the script include we want to use:
varga = new GlideAjax("DemoScriptInclude");
To pass parameters to the server-side script include ...
Read now
Unlock full access