Skip to main content
MindTouch Success Center

Add JavaScript

This page applies to:MindTouch (current)

This article covers how to add JavaScript to your MindTouch page.

Example use case

Let's say you want to add an alert box as displayed below to a MindTouch page:


How to 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).

  1. Place your cursor in the JavaScript block and add your code.

  1. Click Save.
  2. Reload the page to verify the JavaScript renders successfully (in our case, presents the user with an alert box).


  • Was this article helpful?