Jump to content

Imitating the Back button


ginerjm

Recommended Posts

I want my Cancel button to send me back to whence I came from.  I've researched and found tons of postings saying to do history.go(-1), history.go(), window.location.reload('myurl') and other things - all of which didn't do it.

 

Back is good, but even better would be the ability to provide a url to execute.  I want to tie this function(?) to the onclick event of my Cancel button.

Link to comment
https://forums.phpfreaks.com/topic/235324-imitating-the-back-button/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.