How do I make a back button

Results 1 to 3 of 3

Thread: How do I make a back button

  1. #1
    Join Date
    Dec 1969
    Posts
    36

    Default How do I make a back button

    Does anybody knows what code I have to use in order to have a "Go Back To The Previous Page" button? (I hate writing "please use your browser&#039s back button...)<BR>Thanks<BR>Ariel

  2. #2
    ActiveALLI Guest

    Default RE: How do I make a back button

    Where are two mehtods <BR>&#060;A HREF="javascript:history.back()">Back&#060;/A><BR>witch is most commonly used<BR>&#060;A HREF="javascript:history.go(-1)">Back&#060;/A><BR>or<BR>&#060;A HREF="javascript:history.go(-4)">Back 4 pages&#060;/A><BR><BR>Hope this Helps<BR><BR>ActiveALLI<BR>Software Integrator<BR>OZ.COM<BR><BR>Happy HTML&#039ing

  3. #3
    Jason Buck Guest

    Default RE: How do I make a back button

    If you just want to use ASP then this way is easier.<BR><BR>&#060;%<BR>strback = request.servervariables("HTTP_REFERER")<BR>respons e.write "&#060;a href=&#039" & strback & "&#039&#062;Go back to the Previous Page&#060;/a&#062;"<BR>%&#062;<BR><BR>Just CUT AND PASTE. It will work.<BR><BR>Respectfully,<BR><BR>Jason<BR>webmast er@wnj.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •