QuestionQ150

Application User Interface

Which choices are approaches for debugging client-side scripts?

Choose two
  • A g_form.addInfoMessage()
  • B gs.addErrorMessage()
  • C gs.log()
  • D jslog()
Explanation

jslog() records client-side diagnostic output in the JavaScript Log. g_form.addInfoMessage() is a client-side GlideForm method that displays a message on the form, making it useful for inspecting script behavior. The gs APIs are server-side APIs and are not available to client-side scripts.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!