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?
Hey!
Try using a Code Block element (Content Elements).
Best regards,
Josue
Simply drag a Code Block into the Page content and paste the raw code into it.
Regards,
Josue
I still see it as a text block here – http://guubie.com/
Regards,
Josue
Try opening this file and change all the iterations of $ (dollar sign) for “jQuery”.
Regards,
Josue
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