Now that we are aware of all the basic features of the ServiceNow platform, including the different scripting options available to us, let us start writing some client-side scripts to enhance our application.
As discussed in the previous chapter, client-side scripts are JavaScript code that execute on the browser and have access to the client-side Glide API. We can employ client-side APIs to enhance our instance beyond the standard configuration and features. Client-side scripts can be used to perform many different operations that execute within the client's browser and have access to the entire DOM along with the Glide API.
In this chapter, we will learn how to create client-side scripts and the different ways we can execute the client-side code. We will also learn how to make use of the client-side Glide API and some of the most widely used functions...