XModPro

Cancel Button - Top of Page

Jeff M. Jeff M. asked Aug 8, 2013
Active Aug 8 · Viewed 1118 times
I have a form which has the standard add/cancel buttons at the bottom.<br /><br />If I hit cancel, it takes me back to the template, but it&#39;s half-way down the page; my add button is at the top.<br /><br />Is there a way to setup the cancel button to scroll to the top when I click on it?<br /><br />I tried the following JS code, but it scrolls first thing I click on cancel, but after the re-fresh, it&#39;s back half-way down the page.<br /><br />Thanks..

2 Answers

Loading answers...