timsweb Posted July 17, 2004 Share Posted July 17, 2004 Hey, In Java, when putting it in a site, what is the thing you put to make a link when clicked it goes back to the previous page? Tim Link to comment Share on other sites More sharing options...
0 kjordan2001 Posted July 17, 2004 Share Posted July 17, 2004 <a href="java script: history.go(-1)">Back</a> Link to comment Share on other sites More sharing options...
0 timsweb Posted July 17, 2004 Author Share Posted July 17, 2004 Ok, Thanks, can this be put in a *.html document? and can it be put in a *.php document? Link to comment Share on other sites More sharing options...
0 psyn Posted July 17, 2004 Share Posted July 17, 2004 yup you can..its just a small javascript :) Link to comment Share on other sites More sharing options...
0 amoeba Posted July 17, 2004 Share Posted July 17, 2004 It can be put in either. Link to comment Share on other sites More sharing options...
0 timsweb Posted July 17, 2004 Author Share Posted July 17, 2004 Thanks, Tim Link to comment Share on other sites More sharing options...
0 kjordan2001 Posted July 17, 2004 Share Posted July 17, 2004 Ok, Thanks, can this be put in a *.html document? and can it be put in a *.php document? Of course, that's HTML code I posted. Link to comment Share on other sites More sharing options...
Question
timsweb
Hey,
In Java, when putting it in a site, what is the thing you put to make a link when clicked it goes back to the previous page?
Tim
Link to comment
Share on other sites
6 answers to this question
Recommended Posts