@jerad
To add JavaScript to an Elementor widget or edit an existing Elementor widget, you can follow these steps:
- Open your WordPress dashboard and navigate to the page where you want to add or edit the Elementor widget.
- Click on the "Edit with Elementor" button to open the Elementor editor.
- Find the widget that you want to add or edit JavaScript for and click on it to select it.
- In the left panel, you will see the widget settings. Look for the "Advanced" tab and click on it.
- Scroll down to the "Custom CSS & Custom JS" section.
- In the Custom JS box, you can add your JavaScript code. You can also edit any existing JavaScript code in this box.
- Once you have added or edited the JavaScript code, click on the "Update" button to save your changes.
- Preview your changes to see the JavaScript code in action on your Elementor widget.
By following these steps, you can easily add or edit JavaScript in an Elementor widget on your WordPress website.