I have an overarching document library that I have created several views. I intend on using the views through the page viewer web part. While I am referencing the default view the below mentioned post and its solution works until I change to a different view. Can anyone assist?
I have resolved the issue myself. After thinking about the process of placing the JS into the parent page - I realised with each new view I created it displayed it in a new page - simple - insert JS in each new view page.