change in code in JavaScript extension doesn't reflect on time

Silver Contributor
Silver Contributor

Hi All

I created a JS code extension for some clicks inside an iframe. The code is firing ok, but when I change some statements in the code, the changes doesn't reflect on time even the correct last commit is loaded on the correct Dev, QA environment.

Can anyone tell me the reason behind this and the potential solution? 

Thanks in advance 

2 REPLIES 2

change in code in JavaScript extension doesn't reflect on time

Tealium Employee

Hi, 

Did you approve the changes for publish?  (I often forget to do this, and I've been using it for years) 

Many thanks

Connecting data systems since the 1980s.

change in code in JavaScript extension doesn't reflect on time

Silver Contributor
Silver Contributor
You can also have a problem with the order of execution, If your javescript is running before your iframe is loaded, it will fire but with no target.

Could be a problem. If you set your javascripts in a document.ready brackets, and add a console.log in the code debugging could be made easier.
No Fair! You changed the outcome by measuring it
-Professor Hubert Farnsworth
Public