cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X

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

agangaiah
14-Alexandrite

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

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 2
sebben
12-Amethyst
(To:agangaiah)

Hi,

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

Thanks.

 

Hi, Avinash

 

Why not using Click Event to Bind Popup Service?

 

ClarK

Top Tags