Make javascript run each time same page is displayed

2 posts, 0 answers
  1. Robin
    Robin avatar
    40 posts
    Member since:
    Jul 2012

    Posted 02 Aug 2012 Link to this post

    How can i make my javascript code run every time the page (page1.html) is shown to the user? Just including the script or using $(document).ready only runs the script the first time the page is shown.
  2. Robin
    Robin avatar
    40 posts
    Member since:
    Jul 2012

    Posted 02 Aug 2012 Link to this post

    Finally figured it out. In case anyone else wonders, just use data-show="NameOfJSFunction" in the main div.
  3. Kendo UI is VS 2017 Ready
Back to Top