JavaScript
5 items tagged with "JavaScript"
Posts
Escape Special Characters in UI Messages
UI Messages look like plain text until one of them passes through a JavaScript or Jelly-rendered path and suddenly stops at the first apostrophe.
Debugging Server-Side Code with GSLog
When server-side debugging starts with a few gs.info() calls, it usually ends with noisy logs and no clean way to turn the detail back off. If you are looking for a …
Minimize Server Lookups in Client Scripts
Client scripts get slow and noisy when every small decision turns into another server call. Most of the time, the real problem is not the API. It is choosing the wrong …
GlideSubstituteURL: The Useful Part
If you look up GlideSubstituteURL, the method list can be distracting. You see names like notify(), notifyAll(), wait(), hashCode(), equals(), and getClass(), and it is …
Snippets
When client scripts rely on multiple GlideAjax calls, callback nesting can quickly become hard to read and maintain. A small Promise wrapper gives you cleaner flow, …