JavaScript
- Applies to:
- All versions
- Role required:
- Draft Contributor
Insert JavaScript within a page, to add a popup alert message or other custom enhancements.
To add a JavaScript block to your page:
- Open the page in Edit mode.
- Place the cursor where you want to insert the JavaScript block.
- In the editor toolbar, click Styles > JavaScript (JEM).
- Place the cursor in the JavaScript block.
- Add the JS code.
- Click Save.
- Reload the page to verify the JavaScript renders successfully.
