{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":609,"path":"api-reference/scripts/c_ScriptingAssistance.md","title":"JavaScript API Context-sensitive help","bundle":null,"doc_type":null,"release":"australia","body":"\n# JavaScript API Context-sensitive help\n\nThe syntax editor can display context-sensitive API information.\n\nJavaScript API Context-sensitive help includes the ability to:\n\n-   List script elements that are valid at the cursor's location. The system displays suggestions in a pop-up window.\n-   Add a selected script element at the cursor's location. If the cursor is within or adjacent to a partial entry, the system completes the entry with the selected script element.\n-   View API documentation for a selected suggestion.\n-   View the expected parameters and format of the current script element.\n\nIf the cursor is adjacent to a text string, the system searches for script elements that start with this text string. For example, while the cursor is within or adjacent to the string `GlideR`, the system displays script elements such as:\n\n-   GlideRecord\n-   GlideRecordSecure\n\nContext-sensitive suggestions are based on script type. For example, when working on a business rule, only suggestions from the server API and for objects such as **current** and **previous** display. When working on a client script, the system only displays suggestions from the client API.\n\n**Parent Topic:**[Server-side scripting](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/scripts/c_ServerScripting.md)\n\n"}}