Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #287403

    Hi guys I need help with a script problem.

    I have an email marketing platform call Guubie and we have a JS button for subscriptions,

    This is the page http://guubie.com where you can see the button is not taking the css and either the javascript
    but if you go to this url http://guubie.com/imap/button.html you will see the same code but this one works.

    I check the developer panel of Safari and I get this error

    [Error] TypeError: ‘undefined’ is not a function (evaluating ‘$(“select”)’)
    global code (guubie.com, line 165)

    [Error] TypeError: ‘undefined’ is not a function (evaluating ‘$(“#octsmartsubscribe-button”)’)
    applyButtonStyles (subscribe.min.js, line 2)
    init (subscribe.min.js, line 1)
    onJQUERYload (subscribe.min.js, line 26)

    Why it works outside of enfold? any idea?

    #287411

    Hey!

    Try using a Code Block element (Content Elements).

    Best regards,
    Josue

    #287429
    This reply has been marked as private.
    #287431

    Simply drag a Code Block into the Page content and paste the raw code into it.

    Regards,
    Josue

    #287440
    This reply has been marked as private.
    #287442

    I still see it as a text block here – http://guubie.com/

    Regards,
    Josue

    #287443
    This reply has been marked as private.
    #287444

    Try opening this file and change all the iterations of $ (dollar sign) for “jQuery”.

    Regards,
    Josue

    #287450
    This reply has been marked as private.
    #287451

    Does it happen with the default WordPress theme activated? i believe it’s more of a WordPress issue on how it handles the execution of this kind of scripts.

    Cheers!
    Josue

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.