Hi all

I had a thread a few days back. Resolved.
Example snippet shown below which triggers when my page ID is #listings:

Code JavaScript:
if ($("#listings")[0]){
  $('.placeholder').before('<div class="napp"><img src="images/napp.png"></div>');

This works great, the problem now is that I have some ajax running which when I click the next link/button to show other photos, content etc. this resets the above and moves my <div class="napp"> back to hidden again. Even though the address bar doesn't change or refresh my jquery code should stay in place. But ajax resets all my nodes within the dom.

My question.
How do I stop this?
Is it something to do with CALL, TRIGGER?

What do you suggest?