Problem with custom JS

We have renamed Post Grid plugin to Post Grid Combo
Ticket for: Accordions
0
Problem with custom JS 1
Anonymous
Sep 21, 2021 07:20 AM 1 Answers
Member Since Jan 1970
Unsolved Solved Mark as Solved Mark as Unsolved
Subscribed Subscribe Not subscribe
Flag(0)

Hi,

I am having a problem with the custom js field in Accordions plugin. The JS I add is being rendered with quotes, which makes it unusable, like the code below:

<script>
jQuery(document).ready(function($){
\nfunction opacidade(){\n document.getElementById(&quot;slide1&quot;).style.opacity = &quot;0&quot;;\n}\n\ndocument.getElementById(&quot;slide1&quot;).addEventListener(&quot;click&quot;, opacidade);\n\n })
</script>

It looks like the string is being output as plain text, instead of HTML.

Can you please help?

Thank you,

Erick

0 Subscribers
Submit Answer
Please login to submit answer.
1 Answers
Sort By:
Best Answer
0
Problem with custom JS 2
PickPlugins
Sep 21, 2021
Flag(0)

Welcome to our forum.

Let me check the plugin, I will update if needed.

Problem with custom JS 3
Stefano Bonnin
- Nov 25, 2022 01:14 AM
Flag (0)
0

I apologize. The same problem I have with Post Grid Plugin and not Accordions.

Problem with custom JS 3
Stefano Bonnin
- Nov 25, 2022 12:21 AM
Flag (0)
0

I have the same problem with the last version. Did you check the plugin? Thanks in advance

Sign in to Reply
Replying as Submit