• Resolved mafia123

    (@mafia123)


    The plugin is useful for adding js to a normal page but i face many problems when trying to add js to elementor.
    Say this example where i have this code in html in elementor=

    <img src="https://xyz.com/wp-content/uploads/2020/09/rain.png"style="width:90px;height:90px;display: block; margin: 0 auto;" id="image1" onclick="changeimage1()">

    I want to add a simple function to change the image on click but it does not work. Please guide me on how to correct it.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author SOGO

    (@orenhav)

    Hi,

    the function is working on any theme page the use wp_footer wp_header

    I am also using it with elementor pages and it is working.
    did you try to view source and see if your script is printed to the page, maybe other js error causing that

Viewing 1 replies (of 1 total)
  • The topic ‘not working for elementor’ is closed to new replies.