Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1070269

    Hi,

    How can we add javascript to a text link. If we add it now the javascript is stripped from the link.
    This is what we need to have:
    Support

    How can we achieve this without having to install / use a plugin for it?

    Please advice!

    Julia

    #1070985

    Hey hotspot,

    What JavaScript do you need to add?

    Best regards,
    Victoria

    #1071300

    Hi Victoria

    i added the code but guess it was stipped from the message. Hereby again:

    <a id="open_Chat" onClick="window.fcWidget.open();">link</a>
    
    #1072493

    Hi,

    Are you adding it to a text/code block? It works when I add it on a code block element. The onclick attribute remains in the front end.

    Best regards,
    Ismael

    #1073038

    hi ismael,

    I tried the code block, but the js gets stripped.
    It results in the front en in:
    link

    What are we doing wrong?

    #1073495

    Hi,

    It is working properly on our end. Please post the login details in the private field so that we can test it.

    Best regards,
    Ismael

    #1078219

    Hi ismeal,

    Thanks for your help, the login credentials are in the private field.

    Let me know what we are doing wrong…

    #1079804

    Hi,

    Thanks for the update.

    We can see the issue on your installation. The only difference we notice is that the site is still running on an older version of the theme. Have you tried deleting the older version (4.4.1) from the themes directory?

    Best regards,
    Ismael

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