JavaScript:

Command group Flag affected Reversible Execute on client Platform(s)
Calculations NO NO YES All

Syntax

JavaScript: javascript-code

Description

Use this command to insert raw JavaScript code into the method in the client methods JavaScript file. Consequently, this command cannot be run in a server method.

A JavaScript editor will pop up when you enter or edit a line of JavaScript code. You can also paste in a block of JavaScript code from the clipboard.

You cannot insert an inline comment on any lines in a JavaScript: code block.

Javascript: alert("I am an alert box!");