How Do I Use the Raw JavaScript Element in SoCast?

How Do I Use the Raw JavaScript Element in SoCast?

How Do I Use the Raw JavaScript Element in SoCast?

This Article Is For

Info Icon

  • All users who have access to pages, blogs, contests, or sidebars
  • Applicable to all themes

The Raw JavaScript element lets you add custom JavaScript directly to your pages, blogs, contests, or sidebars. Use this element to enhance your site with interactive features or custom scripts.

Step-by-Step Guide

  1. JavaScript Code: Enter your JavaScript code in the provided field.
  2. Element ID: Enter a unique, valid element ID. Make sure it follows the W3C specification.
  3. Extra Class Name: If you want to style this element differently, add a class name here. You can then reference this class in your custom CSS.

Raw JavaScript Element Example