Force page template refresh?

Hi all   I have an HTMLSnippet running some jquery to add an attribute to some elements on the page. It is situated in each of the three page templates in my projects as the intention is for it to run each time you go to a new page. However I have discovered that the code does not run again when moving between pages with the same template. Is there a way of forcing a refresh of the page template or do i need to just add this snippet manually to each page?   Edit: i have tried the refresh on context change and context update in HTMLSnippet, but this does not work
1 answers

Hello Feargus,

As far as I know there is no way to refresh the template, and you would have to add it on each page.

Personally I tried to avoid any on page load events and used instead jQuery events that work with context changes.