NetTalk Central

Author Topic: Add a "back" button to a form  (Read 4055 times)

johncort

  • Newbie
  • *
  • Posts: 6
    • View Profile
    • Email
Add a "back" button to a form
« on: October 15, 2007, 08:19:47 PM »
I've seen this done on the TNA server I believe - how does one create a back button that takes the user back to the page they came from? Thanks for any help.


ccordes

  • Sr. Member
  • ****
  • Posts: 384
    • View Profile
    • Email
Re: Add a "back" button to a form
« Reply #1 on: October 16, 2007, 01:07:33 PM »
A little javascript might work

As a link
<a href="#" onClick="history.go(-1)">Back</a>

or as a button
<input type=button value="Back" onClick="history.go(-1)">

HTH
chris c
Real programmers use copy con newapp.exe