How to run JS also in a popup?

Status
This content is read-only, or is not open for further replies.

Orit

Guest
offline
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...
 
Liked by:
Status
This content is read-only, or is not open for further replies.
Top Bottom