How Can I Get A Back Button To Work On My Website?

.I have a hyperlink on a page in my website that goes to a page in another website that we maintain.  The hyperlink open the page in a "tab". The only way to "Go Back" is to close the tab.
 I tried using the following code but this does not work. <a href="javascript:history.go(-1)">Go Back</a>

Is it a browser issue? Or is it because the page opens in a tab?

is there a way to get the back button to work?

Thank you...
Rick
ES-ComponentsAsked:
Who is Participating?
 
Dave BaldwinFixer of ProblemsCommented:
You can only go "Back" in the same window or tab that you are currently in.  That is normal operation.  You could use "window.close()" instead to close the current tab or window.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.