BjornSkifs Posted October 11, 2012 Report Share Posted October 11, 2012 I have a details page that is a reloading after a few seconds. I would like to add a "Back" button in addition to the one that is standard. Normally, <input type="button" onclick="history.back(-1);" value="Back" > would work, but since I'm reloading the page after x seconds, the Back button wont work after x seconds.Is there a way to get around this? For example, it there a way to redo the search through a button on the details page? I'm grateful for any suggestions. Thanks /Bjorn Quote Link to comment Share on other sites More sharing options...
0 MayMusic Posted October 11, 2012 Report Share Posted October 11, 2012 You can try this: <input type="button" onclick="window.location='URL OF THE SEARCH'" value="Back" /> Quote Link to comment Share on other sites More sharing options...
0 BjornSkifs Posted October 11, 2012 Author Report Share Posted October 11, 2012 Thanks MayMusic! This is probably a silly question, but how do I know the URL OF THE SEARCH? (I would like the button to take me back to the results page). /Bjorn Quote Link to comment Share on other sites More sharing options...
0 MayMusic Posted October 15, 2012 Report Share Posted October 15, 2012 In a details page there is a back button which takes you back to result. But if you need to go back to result using a button from a different page you need to create your search and report in two pages as described here http://howto.caspio.com/parameters/in-action/in-action-search-page-and-results-page-in-two-different-webpages.html and deploy them. After deploying the pages you will have your search and report URL. Now you can create a button any where you want and link it to any of these pages. :wink: :wink: Quote Link to comment Share on other sites More sharing options...
0 BjornSkifs Posted October 27, 2012 Author Report Share Posted October 27, 2012 Sweet! Thanks!!! Quote Link to comment Share on other sites More sharing options...
0 MayMusic Posted October 30, 2012 Report Share Posted October 30, 2012 You are welcome :wink: Quote Link to comment Share on other sites More sharing options...
Question
BjornSkifs
I have a details page that is a reloading after a few seconds.
I would like to add a "Back" button in addition to the one that is standard.
Normally,
would work, but since I'm reloading the page after x seconds, the Back button wont work after x seconds.Is there a way to get around this?
For example, it there a way to redo the search through a button on the details page?
I'm grateful for any suggestions.
Thanks
/Bjorn
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.