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

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. 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
13-Aquamarine
(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

Announcements

Top Tags