Skip to main content
5-Regular Member
April 21, 2020
Question

JS code does not work on an image if its visibility is triggered by another code

  • April 21, 2020
  • 2 replies
  • 910 views

Hello,

 

I have come across this quite a weird problem. Let me explain it below steps:

 

1. Image 1 > Have a JS to show popup on click > Work well

 

Same thing when 2 images involved:

1. Image 1 > Click and make Image 2 Visible > Have a JS code to show popup > Does not work now.

 

This is easily reproducible!!!

 

Has anyone come across this?

 

Avinash

2 replies

14-Alexandrite
April 22, 2020

Hi,

it would help if you share your JS code to see the issue here.

Thanks.

 

16-Pearl
April 22, 2020

Hi, Avinash

 

Why not using Click Event to Bind Popup Service?

 

ClarK