Skip to main content
MindTouch Success Center

Add JavaScript

Add a JavaScript block to your page

  1. Open your page in Edit mode.
  2. Place the cursor on the page where you want to insert the JavaScript block.
  3. On the editor toolbar, click Styles and select JavaScript (JEM).
  4. Place your cursor in the JavaScript block and add your code.
  5. Click Save.
  6. Reload the page to verify the JavaScript renders successfully.

Example use case

Use JavaScript to add a popup alert message or other custom enhancements.

 

  • Was this article helpful?