Client Scripts and catalog Client Scripts are virtually the exact same sort of script. The differences are that client scripts execute against a form with a certain type of record, whereas catalog Client Scripts execute against a certain catalog item or variable set within a catalog item.
In either case, both script types execute exclusively on the client (meaning inside the user's browser). As such, they unfortunately do not have access to some very useful server side APIs, but there are ways around that. We'll get into how to execute server side code and APIs from a client side script in a later chapter.
Client Scripts can be used to show and hide options from within a drop-down ...