2 Replies Latest reply on Nov 12, 2015 12:29 PM by Stephen Hellyar

    onClick - how to stop page refresh

    Stephen Hellyar

      My page has a banner.   The embedded dashboard is down the page a bit.  The page reloads at the top every time I click an onClick command.  It's a bit annoying.  How do I stop the onClick commands from reloading the page?


      Examples of my onClick commands. 

      <a href="#" onClick="exportPDF()" class="a-btn lac-outer-space">Export PDF</a>,

      or <a href="#" onClick="revertAll()"> or any combination. 


      And my JS functions are straight out of RC's 8.2 js. document.