RSS Feed/News How to run JS also in a popup?

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
29,201
Points
823

Reputation:

Hi
I have page with some simple JS.
When opening in its own dedicated page- all works as it should.
But when attempting to open in a popup, the JS does not work.
Why is that?
Is there anything I can do?

I am still running XF 2.2

HTML:

Code:
<xf:button id="name-bt1" class="button--cta button">
    {{ phrase('contact') }}
</xf:button>
<div id="customContactText" style="display:none;">
    <div class="contact-buttons">
        <div id="contact-email" class="contact-button"></div>
        <div...

Read more

Continue reading...
 
Status
Not open for further replies.
Top